Skip to main content
Glama

Robot Actions — Remote Device Control

TestRail list runs

testrail_list_runs
Read-onlyIdempotent

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?

Annotations already declare readOnly, idempotent, non-destructive, and open-world, but the description adds important behavioral context beyond them: the return shape, the 250-item page cap, the fact that results are NOT auto-paged, and the exact recovery pattern via paging.hasMore and offset=paging.nextOffset. This is exactly the kind of operational detail an agent needs before concluding a run is missing.

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?

The description is front-loaded with the core purpose, then follows with return shape, pagination caveat, and filtering advice. Every sentence adds distinct operational value, with no redundant or filler text.

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 five parameters, rich annotations, and no output schema, the description covers purpose, return shape, pagination behavior, and filtering guidance. An agent has enough information to call it correctly and interpret results without needing an output schema.

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 description coverage is 100%, which sets a baseline of 3, but the description adds meaning beyond the schema by tying offset to paging.nextOffset and explaining the practical use of milestoneId and createdAfter for release- or window-based filtering. It does not explain limit semantics beyond what the schema already states.

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?

States a specific verb and resource ('List TestRail runs') and scopes it to a project with ordering ('newest first'). The resource is clearly distinct from sibling tools like testrail_list_tests_for_run, which lists tests within a run rather than runs themselves.

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?

Gives explicit usage guidance for pagination and filtering: check paging.hasMore and re-call with offset=paging.nextOffset, and use milestoneId or createdAfter to avoid paging through history. It does not name when to prefer this over a sibling tool or state when not to use it, so it falls short of full 5-level routing guidance.

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