Skip to main content
Glama

Robot Actions — Remote Device Control

TestRail list sections

testrail_list_sections
Read-onlyIdempotent

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?

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuine value beyond that: it discloses the failure mode ('TestRail rejects the call without suiteId') and, since there is no output schema, it discloses the return shape (id + name + parent_id + depth). It omits pagination or ordering behavior, so not a 5.

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?

Three short sentences, zero filler, with the core purpose front-loaded and the conditional requirement and return shape following in priority order. Every sentence carries information.

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 two-parameter read tool with no output schema, the description covers purpose, the conditional parameter rule, and the return fields — enough for correct invocation. It does not mention whether sections are returned sorted or paginated, which is the only remaining gap.

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% and the suiteId schema description already states 'required for multi-suite projects, optional for single-suite', so the description largely repeats structured data. It adds only the consequence of omission, which is useful but marginal against a fully documented schema.

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?

States a specific verb+resource — listing sections inside a TestRail project — and disambiguates the domain term by equating sections with folders. It is distinguishable from siblings like testrail_list_suites and testrail_list_cases, but the description never names those siblings or clarifies the hierarchy relationship between them.

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 conditional rule for suiteId (required for multi-suite, optional for single-suite), which is real usage context, but it offers no guidance on when to call this tool versus testrail_list_suites or testrail_list_cases, nor any ordering/preconditions for traversal.

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