Skip to main content
Glama
gracexiaowork

testrail-mcp-server

testrail_get_results_for_case

Retrieve test results for a specific test case within a TestRail run. Use run_id and case_id to fetch execution outcomes and optional result limits.

Instructions

Get test results for a specific test case in a run

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoOptional limit on the number of results
run_idYesThe ID of the test run
case_idYesThe ID of the test case

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says nothing about ordering, pagination behavior for the limit parameter, permissions required, or whether the read is live or cached, and gives no hint of the return shape for a results-list operation.

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

Conciseness4/5

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

A single front-loaded sentence with the verb and scope stated immediately and zero wasted words. It is tight but so short that it veers toward under-specification rather than true conciseness.

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

Completeness3/5

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

For a simple read tool with a fully documented schema and no output schema, the description is minimally adequate. However, with no annotations and no output schema, it should at least mention result ordering or pagination semantics to be genuinely complete.

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 all three parameters (run_id, case_id, limit) are already documented in the schema. The description restates only the run/case relationship and adds no format, default, or value-range detail beyond what the schema provides; baseline 3 applies.

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?

States a specific verb (Get) plus a scoped resource (test results for a specific test case in a run). The 'for a specific test case in a run' qualifier distinguishes it from sibling testrail_get_results_for_run and testrail_get_results, though it does not name those siblings explicitly.

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

Usage Guidelines3/5

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

The phrase 'for a specific test case in a run' implies when this tool applies (you have both a run_id and a case_id), but it never states when to prefer it over testrail_get_results or testrail_get_results_for_run. Usage must be inferred from the parameter scope.

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