Skip to main content
Glama

xray_update_test_run_step

Updates an Xray test run step's status, comment, evidence, and linked defects in one call, so you can record execution results without separate requests.

Instructions

Perform a full update of a test run step via UpdateTestRunStepInput: status, comment, evidence, and defects in one call.

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>",
      "stepId": "<stepId>"
    },
    "name": "xray_update_test_run_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
stepIdYesThe internal Xray step ID within the run
testRunIdYesThe internal Xray test run ID
updateDataNoUpdate data for the step (status, comment, evidence, defects)
iterationRankNoRank of the iteration to update (for parameterized tests)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.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 behavioral burden. 'Full update' raises a critical unanswered question: whether omitted fields are cleared or preserved, especially for evidence and defects arrays. It also omits permissions, reversibility, error behavior, and response shape.

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?

A single front-loaded sentence with no wasted clauses. The internal type name 'UpdateTestRunStepInput' is low-value jargon, but the sentence remains efficient.

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 nested, five-parameter mutation tool with no annotations and no output schema. The definition does not explain replacement semantics, how the nested updateData interacts with existing step state, or when to prefer it over granular siblings, leaving significant gaps.

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 already documents status, comment, evidence, defects, iterationRank, and format. The description lists the same updateData fields but adds no syntax, constraints, or meaning beyond what the schema provides, so baseline 3 is appropriate.

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 ('full update of a test run step') and enumerates the four fields covered, which distinguishes it from single-field siblings. It does not explicitly name xray_update_test_step or clarify how 'full update' differs from granular operations, leaving some 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?

There is no explicit when-to-use guidance or when-not guidance. The phrase 'in one call' weakly implies this is for combined updates rather than single-field changes, but the agent must infer that against siblings like xray_update_step_status, xray_update_step_comment, xray_add_evidence_to_step, and xray_remove_defects_from_step.

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