Skip to main content
Glama
Derrbal
by Derrbal

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

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