Skip to main content
Glama
gracexiaowork

testrail-mcp-server

testrail_add_results_for_cases

Add test results for multiple cases in a TestRail run at once. Bulk-record pass or fail statuses and comments to update many cases in a single request.

Instructions

Add multiple test results for cases in a test run (bulk operation)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesThe ID of the test run
resultsYesArray of results to add

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 burden. It reveals only that this is a bulk write; it says nothing about permissions required, whether earlier results are overwritten or appended, partial-failure behavior across the array, or rate limits on large batches.

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?

A single short sentence with no filler, and the bulk qualifier is front-loaded. Nothing could be trimmed without losing information.

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?

This is a mutation tool with no annotations, no output schema, and a nested results array that can fail in many ways; the description provides no error, overwrite, or response semantics. For a two-parameter bulk write, it is under-specified relative to what an agent needs to call it safely.

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 run_id and the results array shape are already documented in the schema. The description adds no syntax, ordering, or field-level meaning beyond restating that results go into a run, which is the expected baseline.

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 and resource ('add multiple test results for cases in a test run') and flags the bulk nature, which separates it from the singular testrail_add_result. It does not, however, name or differentiate itself from the closely-related siblings add_results and add_result_for_case, so an agent still has to infer which bulk variant to pick.

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 guidance on when to use this versus testrail_add_result, testrail_add_results, or testrail_add_result_for_case, despite three near-identical siblings in the list. The parenthetical '(bulk operation)' hints at scale but is not an explicit selection rule.

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