Skip to main content
Glama

xray_update_test_run_status

Set the status of an Xray test run by its ID to PASS, FAIL, TODO, EXECUTING, or ABORTED. Use it to record execution results and keep test run data current.

Instructions

Update the status of 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": {
      "id": "<id>",
      "status": "<status>"
    },
    "name": "xray_update_test_run_status"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden for a mutation tool, yet it discloses almost nothing. It does not state required permissions, whether status changes are reversible, whether transitions are validated, or whether side effects such as timer or step recalculation occur.

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 single sentence is front-loaded and free of waste, though its brevity comes at the cost of the specificity an agent needs for a mutation operation.

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 mutation tool with no annotations and no output schema, the definition says nothing about what happens on success or failure, what the return value contains, or what constraints apply. The rich schema partially compensates, but the description is too thin for this complexity level.

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%, with enumerations documented for both status and format, so the schema already explains all three parameters. The description adds no meaning beyond those structured fields, which makes the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (update) and resource (test run status), but it does not distinguish this tool from close siblings such as xray_update_test_run or xray_update_test_run_step, whose scope overlaps visibly by name. An agent can grasp the general intent, yet must infer whether this targets the run header, a step, or an iteration.

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 instead of xray_update_test_run, xray_update_step_status, or xray_update_iteration_status. No preconditions, no notes about valid status transitions, and no exclusions are provided.

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