Skip to main content
Glama
uarlouski

TestRail MCP Server

by uarlouski

get_labels

Read-onlyIdempotent

Retrieve all available test case labels for a project, returning their IDs and titles for use when creating or updating test cases.

Instructions

Get all available test case labels (sometimes called tags) for a project. Returns label IDs and titles that can be used when creating or updating test cases.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe ID of the project to retrieve labels for
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is known. The description adds value by clarifying the return content ('label IDs and titles') and the terminology ('sometimes called tags'), which is helpful beyond the structured annotations. No contradiction exists.

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 two concise sentences with no wasted words. The key verb and resource are front-loaded: 'Get all available test case labels.' The second sentence adds useful return and use-case context. It is appropriately sized for the tool's simplicity.

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 read-only tool with one parameter and no output schema, the description adequately conveys what the tool does and what it returns. It mentions the return items ('label IDs and titles') and their purpose. It does not explicitly state that the output is a list, but 'all available' implies a collection, which is sufficient for this low-complexity tool.

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?

The input schema has one required parameter (project_id) with a clear description that fully aligns with the tool description. Since schema description coverage is 100%, the description adds little additional meaning to the parameter. Baseline 3 is appropriate; the schema already documents the parameter well.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Get all available test case labels (sometimes called tags) for a project.' It uses a specific verb ('Get') and a specific resource ('test case labels'), and the parenthetical note ('sometimes called tags') prevents ambiguity. This distinctly differentiates it from sibling tools like get_tests or get_users.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when the output can be used: 'Returns label IDs and titles that can be used when creating or updating test cases.' This gives clear context for invocation. It does not explicitly mention when not to use it or name alternative tools, but for a simple read operation the use case is well implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/uarlouski/testrail-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server