Skip to main content
Glama

xray_update_iteration_status

Update a specific iteration's status within an Xray test run by providing its rank, test run ID, and new status such as PASS or FAIL.

Instructions

Update the status of a specific iteration (data-set test row) within a test run.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "testRunId": "<testRunId>",
      "iterationRank": "<iterationRank>",
      "status": "<status>"
    },
    "name": "xray_update_iteration_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
statusYesNew status for the iteration
testRunIdYesThe internal Xray test run ID
iterationRankYesRank of the iteration in the test run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/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 discloses very little. It conveys that this is a mutation of status but says nothing about required permissions, whether the change is reversible or logged in run history, what happens for an invalid rank, or what the call returns.

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 sentence with the action, the target object, and the containment scope, with the clarifying gloss placed immediately after the ambiguous term. Nothing is wasted and nothing relevant is buried.

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?

For a 3-required-parameter mutation with no annotations and no output schema, the definition is minimally sufficient: an agent knows what to change and on which object. It is silent on failure modes, permission requirements, and result shape, which leaves real gaps for a write operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with enums for status and format, so the schema already does most of the work. The description still adds real meaning by equating 'iteration' with a data-set test row, which clarifies what iterationRank (rank of the iteration) actually addresses in Xray's model.

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 gives a specific verb (update), a specific resource (iteration status), and scope (within a test run), plus a parenthetical gloss 'data-set test row' that pins down an overloaded term. It implicitly separates itself from siblings such as xray_update_step_status and xray_update_test_run_status by naming 'iteration' as the target, though it never names those alternatives outright.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The target object is scoped clearly enough ('iteration ... within a test run') that an agent can infer this is not the tool for test-run-level or step-level status changes. However, there is no explicit when-to-use/when-not-to-use statement, no mention of the sibling status tools, and no prerequisites such as needing a valid testRunId and existing iterationRank.

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