Skip to main content
Glama
g-tiwari

@g-tiwari/mcp-testrail

by g-tiwari

add_result

Record a test outcome by submitting a status ID, optional comment, defects, time, and version directly to TestRail.

Instructions

Add a result for a test

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNoResult comment/notes
defectsNoComma-separated defect IDs
elapsedNoTime spent (e.g. '30s', '1m 45s')
test_idYesTest ID
versionNoVersion or build tested
status_idYesStatus ID (1=Passed,2=Blocked,3=Untested,4=Retest,5=Failed)
assignedto_idNoReassign to user ID

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 full responsibility for behavioral disclosure. It only restates the action and gives no information about side effects, whether results are appended or replaced, permission requirements, or what the response contains.

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?

The description is a single, direct sentence with no wasted words and is easy to parse. It is appropriately concise, though it achieves this by omitting useful contextual details.

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 mutating tool with no annotations, no output schema, and close sibling tools, the description is too thin. An agent lacks information about what a successful call returns, how this differs from related endpoints, and any behavioral implications of adding a result.

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 all seven parameters are already explained in the schema, including the status_id value mapping. The description adds no extra parameter context beyond the schema, which fits the baseline score of 3.

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 states a specific action ('Add') and a clear resource ('a result for a test'), so an agent can grasp the core operation. However, it does not distinguish this tool from closely named siblings like add_result_for_case or add_results, leaving some selection ambiguity.

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 gives no guidance on when to use this tool versus alternatives such as add_result_for_case or add_results_for_cases. It also does not mention any prerequisites, constraints, or context in which this endpoint is the appropriate choice.

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