Skip to main content
Glama
testrail-mcp
by tmurraypt

add_section

Create a new TestRail section within a project, optionally specifying a suite and parent section to organize test cases into nested folders.

Instructions

Create a new section

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_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSection name
suite_idNoSuite ID (required for multi-suite projects)
parent_idNoParent section ID for nesting
project_idYesProject ID
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/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 disclosure burden, and it delivers only the bare fact that a write occurs. It says nothing about required permissions, whether the new section is appended or ordered, what happens with parent_id nesting conflicts, or what the response contains. "Create" signals mutation, which is the only behavioral signal present.

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?

It is front-loaded and free of waste, but four words is undersized for a five-parameter mutation tool with no annotations. Brevity here reads as under-specification rather than disciplined concision.

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

Completeness1/5

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

A mutation tool with 5 parameters, no annotations, and no output schema needs the description to explain requirements such as suite_id for multi-suite projects, nesting via parent_id, and the effect of creation. None of that is present, so an agent cannot call it correctly without reading the schema and guessing at preconditions.

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 coverage is 80%, so the schema already documents the meaning of project_id, name, suite_id, and parent_id; the description adds nothing to those. The one undocumented field, description, is also unexplained in the description text. With the schema doing nearly all the work, the baseline of 3 applies.

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?

"Create a new section" states a specific verb (create) and resource (section), which is unambiguous against siblings like delete_section, get_section, and update_section whose names imply different operations. It stops short of any explicit differentiation or scope statement, so it lands at clear-but-undifferentiated.

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 when-to-use guidance, no prerequisites (e.g., that a project or suite must exist first), and no mention of alternatives. The agent must infer from the name alone that this is the tool for adding sections rather than fetching or editing them.

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