Skip to main content
Glama
Derrbal

TestRail MCP Server

by Derrbal

Get TestRail Cases

get_cases

Retrieve test cases from TestRail projects and suites with filtering options for creation date, priority, milestone, and custom criteria to organize testing workflows.

Instructions

Get a list of test cases for a project or specific test suite with optional filtering and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesTestRail project ID
suite_idNoTestRail suite ID (optional if project is in single suite mode)
created_afterNoOnly return test cases created after this date (as UNIX timestamp)
created_beforeNoOnly return test cases created before this date (as UNIX timestamp)
created_byNoA list of creator user IDs to filter by
filterNoOnly return cases with matching filter string in the case title
limitNoThe number of test cases to return (max 250, default 250)
milestone_idNoA list of milestone IDs to filter by
offsetNoWhere to start counting the test cases from (pagination offset)
priority_idNoA list of priority IDs to filter by
refsNoA single Reference ID (e.g. TR-1, 4291, etc.)
section_idNoThe ID of a test case section
template_idNoA list of template IDs to filter by
type_idNoA list of case type IDs to filter by
updated_afterNoOnly return test cases updated after this date (as UNIX timestamp)
updated_beforeNoOnly return test cases updated before this date (as UNIX timestamp)
updated_byNoA user ID who updated test cases to filter by
label_idNoA list of label IDs to filter by
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions 'optional filtering and pagination,' which hints at behavior, but doesn't disclose critical details like whether this is a read-only operation, potential rate limits, authentication needs, or what the return format looks like (e.g., list structure, error handling). For a tool with 18 parameters and no annotation coverage, this is a significant gap.

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 a single, well-structured sentence that efficiently conveys the core purpose and key features (filtering, pagination) without unnecessary words. It's front-loaded and every part earns its place.

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

Completeness3/5

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

Given the complexity (18 parameters, no annotations, no output schema), the description is incomplete. It covers the basic purpose but lacks behavioral details (e.g., read-only nature, response format) and deeper usage guidance. The high schema coverage helps, but for a tool with many parameters and no output schema, more context would be beneficial.

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 all 18 parameters thoroughly. The description adds minimal value beyond the schema by mentioning 'optional filtering and pagination,' which loosely maps to some parameters like 'limit' and 'offset,' but doesn't provide additional syntax, format, or usage details. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states the tool's purpose: 'Get a list of test cases for a project or specific test suite with optional filtering and pagination.' It specifies the verb ('Get'), resource ('test cases'), and scope ('project or specific test suite'), but doesn't explicitly distinguish it from sibling tools like 'get_case' (singular) or 'get_sections'.

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 implies usage context by mentioning 'project or specific test suite' and 'optional filtering and pagination,' but doesn't provide explicit guidance on when to use this tool versus alternatives like 'get_case' (for a single case) or 'get_sections' (for sections). No exclusions or prerequisites are stated.

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/Derrbal/testrail-mcp'

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