Skip to main content
Glama
gracexiaowork

testrail-mcp-server

testrail_get_runs

Retrieve all test runs for a given project using its project ID. Use this to review or manage TestRail runs without manual searches.

Instructions

Get all test runs in a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe ID of the project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full disclosure burden. It implies a read via 'Get' but says nothing about pagination, result ordering, volume of runs returned, or whether inactive/closed runs are included — meaningful gaps for a list endpoint.

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?

A single tight sentence with the resource and scope front-loaded and no filler. Nothing is wasted, though the terseness is partly the source of the transparency gaps.

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 one-parameter read with no output schema and full schema coverage, the description is minimally viable. It omits filtering, pagination, and inclusion semantics for closed runs, which an agent might need given the large sibling set around runs.

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% and the single required project_id is fully documented in the schema, so the description cannot add syntax value here. Baseline 3 applies since the description merely restates the project scoping already conveyed by the parameter.

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 ('Get all test runs') scoped to a project, which reads clearly as a list operation. It never names the sibling testrail_get_run (single run) or testrail_get_projects, so an agent must infer the distinction from the plural 'all' rather than being told.

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 indication of when to use this versus testrail_get_run, testrail_get_results_for_run, or testrail_get_projects. There are no prerequisites, exclusions, or alternative routing guidance of any kind.

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