Skip to main content
Glama

create_test_run

Create a new test run in TestRail by providing a suite ID and name, with optional specific test case IDs.

Instructions

Create a new test run in the configured TestRail project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the test run
case_idsNoOptional: Specific test case IDs to include. If omitted, includes all cases in suite.
suite_idYesThe ID of the test suite
descriptionNoOptional description of the test run
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Create' implies a write operation, but no details are given about required permissions, side effects, idempotency, or what 'configured project' means. The description is too sparse to cover these aspects.

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, front-loaded sentence of eight words. It conveys the essential purpose without unnecessary elaboration, earning a high score for conciseness.

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?

The tool is a simple create operation with full schema documentation, but the description lacks guidance on return values (no output schema exists) and clarifies the ambiguous 'configured project'. It is minimally viable but has clear gaps in contextual information.

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%, with all four parameters (name, case_ids, suite_id, description) adequately described. The description itself adds no parameter-level information, so the baseline score of 3 is appropriate.

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 uses a specific verb ('Create') and names the resource ('test run') within a clear context ('configured TestRail project'). It clearly distinguishes from sibling tools like list_test_runs or close_test_run by indicating a creation action.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives is provided. The description does not mention related operations like add_test_results or update_test_case, leaving the agent to infer usage solely from the tool name and generic description.

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

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