Skip to main content
Glama
testrail-mcp
by tmurraypt

get_results_for_run

Retrieves all test results for a specified TestRail run by run ID, with optional filters for status, creator, and creation date, plus pagination.

Instructions

Get all results for a test 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>"
    },
    "name": "get_results_for_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
run_idYesRun ID
status_idNo
created_byNo
created_afterNo
created_beforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/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 entire behavioral burden, and it discloses almost nothing. It does not say whether results are paginated, what the default limit is, what ordering applies, or what the response contains. Only the vague word 'all' hints at default unfiltered behavior, which is thin for a 7-parameter read tool.

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

Conciseness3/5

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

The single sentence is front-loaded and free of padding, but it is undersized relative to the tool's complexity rather than genuinely concise. There is no wasted wording, yet there is also almost no wording to evaluate.

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 no annotations, no output schema, and six undocumented parameters, the description does not supply enough for an agent to call this correctly beyond the required run_id. Pagination, filtering, and response shape are all unaddressed.

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

Parameters1/5

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

Schema description coverage is 14% - only run_id is documented, and only as 'Run ID'. Six parameters (limit, offset, status_id, created_by, created_after, created_before) have no meaning explained in either the schema or the description, so nothing compensates for the coverage gap.

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 and resource: retrieving results belonging to a single test run, which is meaningfully distinct from the sibling get_results_for_case. It does not explicitly name or route against those siblings, so it stops short of a 5.

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 guidance on when to use this instead of get_results, get_results_for_case, or get_run, and no mention of prerequisites such as needing a valid run_id. The reader must infer usage purely from the tool name.

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