Skip to main content
Glama
gracexiaowork

testrail-mcp-server

testrail_add_run

Create a new TestRail test run by specifying project ID and name, with optional suite, milestone, case selection, and assignee details.

Instructions

Create a new test run

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the test run
case_idsNoOptional array of case IDs to include (when include_all is false)
suite_idNoOptional suite ID
project_idYesThe ID of the project
descriptionNoOptional description
include_allNoWhether to include all test cases (default: true)
milestone_idNoOptional milestone ID
assignedto_idNoOptional user ID to assign the run to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
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 behavioral burden, and it says nothing about permissions, side effects, or what the created run contains. Notably it omits the important defaulting behavior of include_all=true, which is a meaningful behavioral trait for this mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero waste. However, for an 8-parameter mutation the terseness borders on under-specification rather than true conciseness.

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

Completeness2/5

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

For an 8-parameter write tool with no annotations and no output schema, a four-word description leaves major gaps: no note that project_id and name are required, no include_all default behavior, and no indication of what the created run returns.

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 eight parameters including the include_all/case_ids relationship. The description adds no parameter meaning beyond that, which is the expected baseline when the schema does the work.

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?

States a specific verb ('Create') and resource ('test run'), which clearly separates it from get_run, update_run, close_run and delete_run by action. It is clear but gives no scope detail (e.g. project/run composition) that would fully differentiate it from other creation tools like add_case or add_result.

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 when-to-use guidance, no prerequisites, and no mention of alternatives or follow-up tools (e.g. add_result after creating a run). The agent must infer everything from the name alone.

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