Skip to main content
Glama
testrail-mcp
by tmurraypt

get_plan

Retrieve a specific TestRail test plan by ID, including its plan entries and associated runs, to inspect plan details and execution coverage.

Instructions

Get a specific test plan (includes plan entries and runs)

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": {
      "plan_id": "<plan_id>"
    },
    "name": "get_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYesPlan ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does add real value by stating the payload includes plan entries and runs — useful for deciding whether one call suffices. It says nothing about read-only semantics, authorization requirements, or error behavior for a missing plan_id.

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

Conciseness4/5

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

A single front-loaded sentence with a parenthetical that earns its place by disclosing returned content; there is no filler. It is efficient but arguably terse enough that it borders on under-specification rather than maximal conciseness.

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

Completeness4/5

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

For a one-parameter getter with no output schema, the description tells the agent what it retrieves and roughly what the response contains (entries and runs). The remaining gap is only the absence of behavioral notes such as read-only nature or handling of invalid IDs, which is minor at 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 description coverage is 100% with a single required plan_id already documented in the schema, so the baseline is 3. The description adds no detail about where plan_id comes from or what format it takes beyond what the schema states.

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 a specific test plan') and implies single-item retrieval, which distinguishes it from the get_plans listing sibling. It stops short of explicitly contrasting itself with any alternative, but the resource and scope are unambiguous.

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?

Usage is only implied by the word 'specific' — an agent can infer this is for fetching one known plan rather than enumerating plans, but no explicit when-to-use or when-not guidance is given. No alternative tool is named, even though get_plans exists as the obvious counterpart.

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