Skip to main content
Glama

Robot Actions — Remote Device Control

testrail_list_runs

List TestRail runs for a project, newest first. Returns { runs: [...], paging: {...} } — run id (R-number), name, created_on, completed_on, and pass/fail counts. Results are NOT auto-paged: TestRail caps a page at 250, so check paging.hasMore and re-call with offset=paging.nextOffset before concluding a run does not exist. Use milestoneId or createdAfter (epoch seconds) to filter to a release or window instead of paging through history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax runs to return in this page (TestRail default 250)
offsetNoRow offset for paging past the first page
projectIdYesTestRail project id
milestoneIdNoOptional milestone filter
createdAfterNoOptional epoch-seconds lower bound on created_on

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Max runs to return (TestRail default 250)"New value: +"Max runs to return in this page (TestRail default 250)"
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Row offset for paging past the first page",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and meets it: it discloses non-auto-paging, the 250 cap, paging.hasMore/nextOffset semantics, and the exact fields returned. It even warns about a false-negative conclusion, which is exactly the kind of behavioral trap an agent needs to know.

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?

Three dense sentences: purpose and ordering first, then return shape and pagination behavior, then filtering guidance. No filler, no repetition of schema details.

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

Completeness5/5

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

For a list tool with no output schema or annotations, the description provides the essential missing context: output shape, key fields, pagination contract, and filter strategy. An agent can invoke it correctly and interpret results without further inference.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds real value by explaining how limit/offset participate in paging, how offset should be fed from paging.nextOffset, and why milestoneId/createdAfter are preferable to paging. This goes beyond the schema's terse field descriptions.

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?

The first sentence names the exact operation ('List TestRail runs'), scopes it to a project, and specifies ordering ('newest first'). The return-shape detail and R-number id format make it unambiguous against siblings like testrail_list_tests_for_run or testrail_list_cases.

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

Usage Guidelines4/5

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

It gives concrete usage guidance: use milestoneId or createdAfter to filter to a release/window instead of paging through history, and don't conclude a run is absent until paging.hasMore is false. It doesn't explicitly name alternative tools, but the tool's purpose and sibling set make that less necessary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources