Skip to main content
Glama
testrail-mcp
by tmurraypt

add_plan_entry

Adds a suite configuration entry to a TestRail test plan so you can include specific suites, cases, and configs for execution.

Instructions

Add a new entry (suite configuration) to a 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": {
      "plan_id": "<plan_id>",
      "suite_id": "<suite_id>"
    },
    "name": "add_plan_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
plan_idYesPlan ID
case_idsNo
suite_idYesSuite ID
config_idsNo
descriptionNo
include_allNo
assignedto_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full burden of behavioral disclosure, and it says nothing beyond the mutation intent. It does not mention required permissions, whether duplicates are rejected or merged, what happens when include_all conflicts with explicit case_ids/config_ids, or what the response looks like. For a write operation with eight parameters, this is a substantial gap.

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 no filler or redundancy. It is efficient, but its brevity is partially under-specification rather than disciplined editing.

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?

For an eight-parameter mutation tool with no annotations, no output schema, and low schema coverage, one sentence is far from sufficient. The agent lacks the information needed to decide between include_all and explicit ID lists, or to understand failure and duplicate-handling behavior.

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 coverage is only 25% – just plan_id and suite_id carry descriptions – and the tool description adds no parameter meaning at all. Six parameters (name, description, case_ids, config_ids, include_all, assignedto_id) are undocumented in both places, and the critical include_all versus case_ids/config_ids interaction is left entirely ambiguous.

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?

A specific verb plus resource: 'Add a new entry (suite configuration) to a test plan' names both the action and the object, and the parenthetical resolves the vague word 'entry'. It stops short of explicitly distinguishing this from sibling tools like add_suite or add_case, though the phrase 'to a test plan' implies the scoping.

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?

The phrase 'to a test plan' implicitly signals the context in which to use it, and the required plan_id/suite_id make the prerequisite relationship clear from the schema. There is no explicit when-to-use guidance, no when-not-to-use, and no mention of the obvious alternatives (add_case, add_suite) that an agent might otherwise pick.

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