Static source inference · medium confidence · evidence: structured output
No deprecated protocol patterns detected
Summary
The agent-qa MCP server exhibits critical gaps across tool definition quality. Tool names are excessively verbose and repetitive (all prefixed with 'agent_qa_'), and lack clear action-verb patterns that would help LLMs disambiguate intent. Critically, no tool input schemas, parameter descriptions, or output schemas are visible in the provided source code, only tool names and generic descriptions are present. The descriptions are minimal (10-50 characters for most tools) and fail to explain WHEN or WHY an LLM should select each tool. Parameter documentation is completely absent from the visible code. Error handling guidance is not evident. This server appears to rely on external documentation or undisclosed implementation files, but the MCP registration itself lacks the required schema richness for production use. All 34 tools are similarly under-specified.
No input schemas visible in source code for any of the 34 tools. Tool definitions lack JSON Schema type definitions, parameter names, constraints, enums, or examples. This violates the core MCP tool contract and makes tools unusable by agents without runtime introspection.
CRITICAL: Expose complete input schemas for all 34 tools in the MCP server code. Each tool must register with explicit parameter names, types (string, number, boolean, array, object), required flags, descriptions, enums where applicable, and min/max constraints. Example: agent_qa_list_tests should accept {limit: number (1-100), offset: number >= 0, filter?: string}.
CRITICAL: Document output schemas for all tools. Use MCP ToolResult content blocks with structured JSON/text. Example: list_tests returns {total: number, items: [{id: string, name: string, created_at: ISO8601, updated_at: ISO8601, status: 'active'|'archived'|'draft'}]}.
HIGH: Shorten tool names by dropping the 'agent_qa_' prefix. Use 'list_tests' instead of 'agent_qa_list_tests'. Use server metadata (name: 'agent-qa') to establish the namespace. This reduces token overhead and improves LLM disambiguation.
HIGH: Expand tool descriptions to 50 - 200 characters and include action-oriented content. Example for list_tests: 'List all agent-qa tests. Returns test metadata (ID, name, status, timestamps). Use before creating new tests to check for duplicates. Paginated; default limit=20.'
HIGH: Add parameter descriptions to all tools. Document what each parameter controls, expected format, valid values, and constraints. Example: 'limit (integer, 1 - 100, default=20): Maximum number of tests to return per page.'
HIGH: Add error handling guidance to destructive tools (delete_test, delete_suite, delete_hook). Include a pre-delete confirmation step or support a dry_run parameter. Provide error messages like 'Test not found (ID: test-123). Available tests: [list]' to enable agent self-correction.
Tool names are excessively verbose and repetitive, all prefixed with 'agent_qa_'. This violates verb-noun naming conventions and makes tool selection harder for LLMs. Names like 'agent_qa_list_tests', 'agent_qa_read_test', 'agent_qa_create_test' blur together. Recommend namespace via server metadata and shorten to 'list_tests', 'read_test', 'create_test'.
Tool descriptions are minimal (10-50 characters) and lack actionable context. Most descriptions are bare statements of what the tool does (e.g., 'List all agent-qa tests') without explaining WHEN to call it, what prerequisites exist, or how it relates to other tools. No descriptions address error conditions or recovery paths.
No output schemas visible. It is unclear what fields these tools return, which prevents LLMs from planning downstream tool calls or extracting needed data for composition. Tools like 'agent_qa_list_tests' and 'agent_qa_read_test' should document their response structure (fields, types, pagination).
No error handling guidance visible. Tools like 'agent_qa_delete_test', 'agent_qa_delete_suite', 'agent_qa_delete_hook' are marked DESTRUCTIVE but provide no error messages, recovery suggestions, or confirmation mechanisms. LLMs have no way to know if deletion succeeded or how to recover from failures.
Pagination and result limiting not visible. Tools like 'agent_qa_list_tests', 'agent_qa_list_suites', 'agent_qa_list_hooks' should document pagination parameters (page, limit, cursor, offset) and return a total count or next_cursor. Without pagination support, large result sets will blow context windows.
MEDIUM: Add pagination support to all list_* and get_run_* tools. Expose limit, offset/cursor parameters and return total count. Cap default limit at 20-50 items to prevent context window exhaustion.
MEDIUM: Document tool composition chains. Example: 'Call list_tests to discover test IDs, then pass test_id to read_test to get full definition, then call enqueue_test_run to execute.' This guides LLM reasoning.
MEDIUM: Add an example or scenario section to discovery/authoring tools (agent_qa_discover, agent_qa_authoring_context) explaining when and how to use them. These are meta-tools that need extra context about their role in the workflow.
LOW: Add idempotency annotations to applicable tools (create_test, create_suite, create_hook). Document that idempotent operations with the same input will return the same result without duplicate side effects, enabling safe retries.