Skip to main content
Glama
bun913

TestRail MCP Server

by bun913

getRuns

Retrieve all test runs for a given TestRail project ID. Filter by creation date, creator, milestone, or suite to narrow results.

Instructions

Retrieves all test runs for a specified TestRail project / 指定されたTestRailプロジェクトの全テスト実行を取得します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesTestRail Project ID
createdAfterNoOnly return runs created after this timestamp
createdBeforeNoOnly return runs created before this timestamp
createdByNoOnly return runs created by these user IDs
milestoneIdNoOnly return runs for this milestone
suiteIdNoOnly return runs for this test suite
limitNoThe number of runs to return per page
offsetNoThe offset to start returning runs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.6
  2. Removedv0.12.1
  3. First observedv0.19.2

TDQS

B3.4/5.0
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions retrieving all runs but omits pagination behavior (limit/offset), filtering defaults, or that it is read-only. Basic intent is clear but insufficient for a tool with 8 parameters.

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 bilingual sentence is concise with zero waste. Front-loaded with key action and resource.

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?

Tool has 8 parameters and no output schema; description only covers basic purpose. Missing details on pagination, default ordering, and response structure. Incomplete for a data retrieval tool of this complexity.

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 coverage is 100%, so baseline is 3. Description adds minimal value by confirming 'all test runs' but does not elaborate on parameters beyond what the schema already provides.

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

Purpose5/5

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

Description clearly states verb 'retrieves' and resource 'all test runs for a specified TestRail project', distinguishing it from siblings like getRun (single run) and getTests (tests within runs).

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?

No explicit guidance on when to use this tool versus alternatives like getRun or getTests. Implicitly, it is for retrieving all runs, but no when-not-to-use or exclusions.

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