Skip to main content
Glama

Robot Actions — Remote Device Control

testrail_list_sections

List sections (folders) inside a TestRail project. For multi-suite projects, suiteId is REQUIRED (TestRail rejects the call without it). For single-suite projects, suiteId is optional. Returns id + name + parent_id + depth so the agent can render the section tree to the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
suiteIdNoSuite id — required for multi-suite projects, optional for single-suite
projectIdYesTestRail project id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden. It explains the multi-suite suiteId requirement and that TestRail rejects calls without it, and it reveals the returned fields (id, name, parent_id, depth) and their purpose for rendering the section tree. It does not mention pagination or ordering, but this is still strong behavioral disclosure for a read-only list operation.

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

Conciseness5/5

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

The description is three tightly written sentences with no filler. The core action is front-loaded, the critical suiteId constraint follows immediately, and the return-value purpose is stated last without redundantly restating the schema.

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 simple two-parameter list operation with no output schema, the description is largely complete: it names the resource, specifies the required/optional parameter condition, and spells out the returned fields so the agent knows the tool supports tree rendering. Minor omissions like pagination or ordering keep it from a perfect score.

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%, so the schema already documents both projectId and suiteId. The description reinforces the suiteId behavior but mostly repeats the schema's own note; it adds the 'TestRail rejects the call' consequence rather than new parameter-level meaning.

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 clearly identifies the operation as listing sections/folders inside a TestRail project and adds the useful clarification that sections are folders. It is easy to distinguish from sibling tools like testrail_list_suites or testrail_list_cases, though it does not explicitly name an alternative.

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 description gives a clear implied use case: when the agent needs to list/render sections in a project. It also provides important per-project-type guidance about when suiteId is required. However, it does not explicitly contrast this tool with related testrail_list_* siblings or state when to prefer one over another.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources