Skip to main content
Glama
testrail-mcp
by tmurraypt

add_plan

Create a new TestRail test plan by specifying a project and plan name, with optional suite entries, cases, configurations, milestone, and description.

Instructions

Create a new test plan

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": "<name>"
    },
    "name": "add_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPlan name
entriesNoPlan entries (test suite configurations)
project_idYesProject ID
descriptionNo
milestone_idNo

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?

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies mutation via 'Create' and says nothing about permissions, required project state, whether entries are validated, or what is returned. For a write operation with zero annotation coverage this is a substantial gap, though 'new' at least signals non-idempotent creation.

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 rather than concise. There is room to add usage and entry semantics without bloat.

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?

With five parameters, two required, a nested entries structure, no annotations, and no output schema, the definition leaves too much for the agent to infer. It never explains how entries relate to the created plan or what a successful creation yields.

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?

Schema description coverage is 60%, and the description adds no meaning beyond it. The most complex parameter, 'entries' (an array of suite/case/config objects with include_all and assignedto_id), is not mentioned at all, nor are milestone_id or description.

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 specific verb and resource ('Create a new test plan'), so an agent knows exactly what object is produced. It does not differentiate itself from siblings such as add_plan_entry or update_plan, which is the only thing keeping it from a 5.

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?

There is no guidance on when to use this tool versus add_plan_entry, update_plan, or get_plans, nor any prerequisite such as the project needing to exist. The agent must infer usage entirely from the name.

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