Skip to main content
Glama
Derrbal

TestRail MCP Server

by Derrbal

Add TestRail Result

add_result

Add test results, comments, or assign tests in TestRail to track testing progress and outcomes.

Instructions

Adds a new test result, comment, or assigns a test.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
test_idYesThe ID of the test to which the result should be added
status_idYesThe ID of the test status (1=Passed, 2=Blocked, 4=Retest, 5=Failed)
commentNoThe comment or description for the test result
versionNoThe version or build against which the test was executed
elapsedNoThe time it took to execute the test (e.g., "30s" or "1m 45s")
defectsNoA comma-separated list of defects to link to the test result
assignedto_idNoThe ID of a user to whom the test should be assigned
custom_step_resultsNoArray of step results for structured testing
customNoCustom fields with custom_ prefix
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 of behavioral disclosure. While 'adds' implies a write operation, it doesn't specify permissions required, whether it's idempotent, error handling, or side effects (e.g., notifications). For a mutation tool with 9 parameters, this lack of behavioral context 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, efficient sentence that front-loads the core functionality without unnecessary words. Every part ('adds a new test result, comment, or assigns a test') directly contributes to understanding the tool's purpose, making it well-structured and concise.

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 a mutation tool with 9 parameters, no annotations, and no output schema, the description is incomplete. It lacks behavioral details (e.g., permissions, side effects), usage guidelines relative to siblings, and any information about return values or errors, leaving the agent with insufficient context for reliable invocation.

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 parameters thoroughly. The description mentions 'test result, comment, or assigns a test', which loosely maps to parameters like status_id, comment, and assignedto_id, but adds minimal semantic value beyond what's in the schema. Baseline 3 is appropriate when 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 with specific verbs ('adds', 'assigns') and resources ('test result', 'comment', 'test'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'update_test' or 'add_case', which could also modify test-related data.

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?

The description provides no guidance on when to use this tool versus alternatives. With sibling tools like 'update_test' and 'add_case' available, there's no indication of whether this is for initial results, updates, or specific scenarios, leaving the agent to guess based on context.

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