Squish MCP demo with context expansion. An MCP server for Squish test automation that provides tools for test analysis, test case creation, test execution, and code generation.
The Squish MCP server presents a moderate-quality definition set with significant variability across tools. Tool names are generally clear and action-oriented (analyze_*, generate_*, create_*, run_*, set_*), but descriptions vary widely in completeness and LLM-optimization. Most tools have basic parameter schemas, but several lack comprehensive descriptions and constraints. Output schemas are referenced via model classes (e.g., ObjectReferenceAnalysisResponse) but not visible in the source excerpt, limiting schema verification. Error handling is largely absent from the visible tool definitions. The server exhibits good structure and fastmcp integration but falls short of production-grade standards for 11/19 tools.
Analyze how BDD is used in a specific test suite.
Parse the local BDD-specific Squish documentation to find relevant information.
Analyze test suite to find common patterns that should be used for generating new test cases.
Analyze global scripts usage patterns that should be used for generating new test cases.
Analyze the current object map structure to understand existing patterns.
Analyze object-reference patterns that should be used for generating new test cases. This includes where and how object maps are stored and how the objects are then accessed.
Seven tools with no parameters (analyze_global_scripts, analyze_squish_api_documentation, analyze_squish_rules, analyze_bdd_documentation, analyze_object_map_structure, get_global_script_dirs) have input schemas that are empty objects or missing descriptions, reducing schema clarity.
Output schemas are not visible in the source code excerpt, only model class names like ObjectReferenceAnalysisResponse are referenced. Cannot verify schema completeness, field naming consistency with parameters, pagination support, or inclusion of chaining IDs needed for multi-step operations.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 61 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 46 | - | v1 |
Parse the local Squish documentation to find relevant information like the available functions and code snippets.
Analyze project-specific Squish rules (explicitly defined patterns).
Create a new Squish test case within an existing test suite.
Create a new Squish test suite with the standard directory structure. Creates suite.conf and shared/names.py inside the given directory. The suite directory must not already exist.
Extract object references from test content to understand what objects are being used.
Generate a BDD test template that can be used as a starting point for creating new BDD-style test cases.
Generate page object references from an XML object snapshot file. This tool: 1. Calls parse_object_snapshot.py to filter XML elements and generate basic definitions 2. Analyzes object reference patterns to understand existing style and locations 3. Determines output format (simple dicts vs classes/functions) based on existing patterns 4. Writes the generated Python code to a local temporary file and returns its path
Generate a test template based on existing patterns and project conventions.
Get the global script directories configured in the active Squish test suite. This uses the squishrunner --config getGlobalScriptDirs command.
Read the suite configuration from a suite.conf file.
Run a Squish test suite or test case. You need to figure out the test suite and test case absolute paths on your own. You may be asked to either run a full test suite or a single test case within a test suite. This is a wrapper around the squishrunner command line tool.
Set the global script directories for Squish test execution.
Analyze test content and suggest improvements based on project patterns.
No error handling guidance visible. Tools like run_test (risk: IRREVERSIBLE) and create_test_suite (risk: WRITE) lack documented error conditions, recovery steps, or classification (retryable vs. fatal). Agents cannot determine whether to retry or escalate.
Irreversible tool (run_test) has no dry-run, confirmation, or pre-execution validation described. Risk classification is present but no mitigation pattern (confirmation-request) is documented.
Multiple tools operate on test suites (analyze_object_references, analyze_bdd_context, generate_test_template, analyze_existing_patterns, etc.) but do not enforce consistent naming of test_suite_path parameter. Some use 'suite_*' directory convention in descriptions; none validate path format or confirm directory existence before operation.
Parameter descriptions are sparse or generic. E.g., 'test_suite_path' is described as 'Path to a suite_* directory' but lacks guidance on absolute vs. relative paths, whether it must exist, or how to discover valid suite paths. LLMs cannot reliably construct paths without discovery tools.
create_test_suite expects 'suite_path' to 'start with suite_' (enforced client-side per description), but no input validation is visible. Agents may pass invalid paths; error messages are not documented.
generate_page_objects_from_snapshot requires output_directory to be 'existing', but no discovery tool is provided to enumerate valid directories. Agents cannot find target directories without external knowledge.
run_test has a 'context' parameter (dict of options) with no enumerated keys, constraints, or examples. LLMs cannot infer valid options; documentation for squishrunner command format is not embedded.
Several tools (analyze_squish_api_documentation, analyze_bdd_documentation, analyze_global_scripts) have generic descriptions that do not explain WHEN to call them or what patterns differ from similar tools. LLMs cannot distinguish between analyze_squish_api_documentation and fetch_squish_api_documentation intent without richer descriptions.