Skip to main content
Glama
netcare-io

jira-xray-cloud-mcp

by netcare-io

Xray Update Test Run Iteration Status

xray_update_test_run_iteration_status
Idempotent

Set the status of a single iteration in a data-driven Xray test run using its test run ID, iteration rank, and configured status. This updates iteration results for precise test execution tracking.

Instructions

Set the status of one iteration of a data-driven test run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYesStatus name as configured in Xray, e.g. 'PASSED', 'FAILED', 'TODO', 'EXECUTING'.
test_run_idYesTest run id, from xray_get_test_execution or xray_get_test_runs.
iteration_rankYesIteration rank, from xray_get_test_run.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so safety and repeatability are covered. The description adds only the scoping fact that a single iteration is targeted; it says nothing about required permissions, what happens to the parent test run's overall status, or whether changes are reversible.

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 front-loaded sentence with no redundant or filler text; the scope qualifier (one iteration of a data-driven test run) is exactly what matters.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. However, for a mutation tool surrounded by several near-identical status/step siblings, the description is too thin to route the agent reliably and omits any note on how the iteration status relates to the test run's own status.

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%, and the schema itself supplies examples for status and provenance hints for test_run_id and iteration_rank, so the baseline applies. The description contributes no additional parameter detail beyond what the schema already documents.

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 (Set), resource (status of one iteration of a data-driven test run) and scope, which is more precise than the bare tool name. It does not, however, differentiate itself from the closely-named sibling xray_update_test_run_example_status, which an agent could easily confuse with iteration status.

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?

There is no guidance on when to use this versus xray_update_test_run, xray_update_test_run_step, or xray_update_test_run_example_status. The context is implied by the phrase 'data-driven test run' but no alternatives or exclusions are stated.

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

Deploy Server

Other Tools