Skip to main content
Glama
gracexiaowork

testrail-mcp-server

testrail_get_cases

Retrieve test cases from a TestRail project, with optional filtering by suite ID, to review or manage test coverage.

Instructions

Get test cases from a project (optionally filtered by suite)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
suite_idNoOptional suite ID to filter cases
project_idYesThe ID of the project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so the description carries the full burden of behavioral disclosure. It states nothing about pagination, rate limits, return format, permissions, or the fact that this is a read operation. This is a retrieval tool with zero behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, front-loaded with the core operation and the optional filter. No waste, no repetition, appropriately sized for a simple two-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a retrieval tool with no annotations and no output schema, the description is insufficient. It says nothing about what is returned (list of cases with fields?), whether results are paginated, or how it differs from sibling retrieval tools like testrail_get_case. An agent cannot confidently select this over alternatives.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents both parameters. The description's mention of the suite filter is redundant with the schema and adds no new meaning. Baseline 3 is appropriate when schema does all the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the verb+resource (Get test cases) and scope (from a project, optionally by suite). Distinguishable from testrail_get_case (singular) by the plural noun, but no explicit differentiation from testrail_get_results_for_case or other retrieval siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus testrail_get_case (single case) or how to retrieve a specific case. The optional suite filter is mentioned but no context about when a suite filter is needed or applicable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.