Skip to main content
Glama
testrail-mcp
by tmurraypt

get_plans

List TestRail test plans for a project, with optional filters for completion status, milestone, creator, and creation date, to review and manage testing plans.

Instructions

List test plans for a project

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": {
      "project_id": "<project_id>"
    },
    "name": "get_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
created_byNo
project_idYesProject ID
is_completedNo
milestone_idNo
created_afterNo
created_beforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only implies a read operation via 'List' but fails to mention pagination, filters, authentication, return format, or any execution context, leaving significant gaps.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, but it is under-specified for an 8-parameter list tool. Conciseness is achieved at the expense of necessary detail, making it overly terse rather than optimally concise.

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?

Given the tool's complexity (8 parameters, no annotations, no output schema, low schema coverage), the description is incomplete. It does not explain filtering, pagination, or return behavior, which an agent would need to invoke it correctly.

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

Parameters2/5

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

The schema description coverage is only 13%, so the description must compensate. It only hints at the required 'project_id' via 'for a project' and says nothing about the other seven parameters (limit, offset, created_by, is_completed, milestone_id, created_after, created_before), leaving them undocumented.

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?

The description states a clear verb ('List') and resource ('test plans'), scoped to a project. It does not explicitly differentiate from the sibling 'get_plan' (singular), but the plural form implies a list operation, making the purpose reasonably clear.

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?

The description provides no when-to-use guidance, no alternatives (e.g., 'use get_plan for a single plan'), and no exclusions or prerequisites. The implied usage is obvious but not explicit.

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