Skip to main content
Glama

Zebrunner MCP Server

get_test_cases_advanced

Retrieve test cases from Zebrunner with advanced filtering options including automation state, date ranges, and suite hierarchy for precise test management.

Instructions

๐Ÿ“Š Advanced test case retrieval with filtering and pagination (โœจ Enhanced with automation state and date filtering) โš ๏ธ IMPORTANT: Use 'suite_id' for direct parent suites, 'root_suite_id' for root suites that contain sub-suites. ๐Ÿ’ก TIP: Use 'get_test_cases_by_suite_smart' for automatic suite type detection!

Input Schema

NameRequiredDescriptionDefault
automation_statesNoFilter by automation state(s). Can be: single name ('Not Automated'), single ID (10), array of names (['Not Automated', 'To Be Automated']), array of IDs ([10, 12]), or mixed array (['Not Automated', 12])
created_afterNoFilter test cases created after this date (ISO format: '2024-01-01' or '2024-01-01T10:00:00Z')
created_beforeNoFilter test cases created before this date (ISO format: '2024-12-31' or '2024-12-31T23:59:59Z')
formatNoOutput formatjson
include_clickable_linksNoInclude clickable links to Zebrunner web UI
include_stepsNoInclude detailed test steps
modified_afterNoFilter test cases modified after this date (ISO format: '2024-01-01' or '2024-01-01T10:00:00Z')
modified_beforeNoFilter test cases modified before this date (ISO format: '2024-12-31' or '2024-12-31T23:59:59Z')
pageNoPage number (0-based)
project_keyYesProject key
root_suite_idNoFilter by root suite ID (includes all sub-suites)
sizeNoPage size (configurable via MAX_PAGE_SIZE env var)
suite_idNoFilter by direct parent suite ID (for child suites)

Input Schema (JSON Schema)

{ "properties": { "automation_states": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "items": { "type": [ "string", "number" ] }, "type": "array" } ], "description": "Filter by automation state(s). Can be: single name ('Not Automated'), single ID (10), array of names (['Not Automated', 'To Be Automated']), array of IDs ([10, 12]), or mixed array (['Not Automated', 12])" }, "created_after": { "description": "Filter test cases created after this date (ISO format: '2024-01-01' or '2024-01-01T10:00:00Z')", "type": "string" }, "created_before": { "description": "Filter test cases created before this date (ISO format: '2024-12-31' or '2024-12-31T23:59:59Z')", "type": "string" }, "format": { "default": "json", "description": "Output format", "enum": [ "dto", "json", "string", "markdown" ], "type": "string" }, "include_clickable_links": { "default": false, "description": "Include clickable links to Zebrunner web UI", "type": "boolean" }, "include_steps": { "default": false, "description": "Include detailed test steps", "type": "boolean" }, "modified_after": { "description": "Filter test cases modified after this date (ISO format: '2024-01-01' or '2024-01-01T10:00:00Z')", "type": "string" }, "modified_before": { "description": "Filter test cases modified before this date (ISO format: '2024-12-31' or '2024-12-31T23:59:59Z')", "type": "string" }, "page": { "default": 0, "description": "Page number (0-based)", "minimum": 0, "type": "integer" }, "project_key": { "description": "Project key", "minLength": 1, "type": "string" }, "root_suite_id": { "description": "Filter by root suite ID (includes all sub-suites)", "exclusiveMinimum": 0, "type": "integer" }, "size": { "default": 10, "description": "Page size (configurable via MAX_PAGE_SIZE env var)", "exclusiveMinimum": 0, "maximum": 100, "type": "integer" }, "suite_id": { "description": "Filter by direct parent suite ID (for child suites)", "exclusiveMinimum": 0, "type": "integer" } }, "required": [ "project_key" ], "type": "object" }

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/maksimsarychau/mcp-zebrunner'

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