Skip to main content
Glama
testrail-mcp
by tmurraypt

get_results_for_case

Retrieve results for a specific test case in a TestRail run, with optional status filtering and pagination.

Instructions

Get results for a specific test case in a run

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "run_id": "<run_id>",
      "case_id": "<case_id>"
    },
    "name": "get_results_for_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
run_idYesRun ID
case_idYesCase ID
status_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about whether the call is read-only, how results are ordered, what the default page size is, or what happens when a case has many results across the run. For a lookup tool with zero annotation coverage this leaves important behavior undisclosed.

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 tight sentence with the scope front-loaded and no filler. It is efficient, though its brevity reflects under-specification rather than deliberate economy.

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?

With five parameters, two undocumented filters, no output schema, and no annotations, the description is too thin to let an agent call this confidently. It should at minimum explain pagination behavior and what the status_id filter does, and ideally what a returned "result" contains.

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

Parameters2/5

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

Schema description coverage is only 40%: run_id and case_id carry trivial labels, while limit, offset, and status_id are entirely undocumented. The description adds no meaning to any of these, notably leaving status_id as a bare string with no indication of its expected values or filtering semantics.

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?

The description pairs a specific verb ("Get") with a specific resource ("results") and narrows the scope to "a specific test case in a run." That scoping distinguishes it from broader result-fetching siblings such as get_results_for_run or get_results, though it never names those alternatives explicitly.

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?

There is no when-to-use or when-not-to-use guidance, and no alternative tool is named. An agent must infer from the scoping phrase alone that this is the right call when it already knows both a run_id and a case_id, which is a weak, implicit signal.

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