Skip to main content
Glama

update_test_run

Updates a test run's status and comment within an Xray test execution using the execution and test Jira issue keys.

Instructions

Update the status and comment of a test run within a test execution (requires Xray credentials).

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": {
      "execution_key": "<execution_key>",
      "test_key": "<test_key>",
      "status": "<status>"
    },
    "name": "update_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesTest run status
commentNoComment to add to the test run
test_keyYesJira issue key of the test (e.g. "PROJ-123")
execution_keyYesJira issue key of the test execution (e.g. "PROJ-456")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does disclose the auth requirement (Xray credentials) and that this is a mutating operation on an existing run. It leaves open whether the run must already exist in the execution, whether the operation is idempotent, and whether the comment is appended to or replaces prior comments — meaningful gaps for a write tool.

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?

One tight sentence with the action and resource front-loaded and the credential caveat appended where it is easy to catch. Nothing is wasted, though the parenthetical could have been integrated more smoothly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter mutation with a fully documented schema and no output schema, the description covers the essential framing plus the credential prerequisite. The remaining gaps (run preexistence, comment merge behavior) are moderate rather than disqualifying, but still leave an agent guessing about failure modes.

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 coverage is 100% with an enum on status and per-field descriptions, so the schema already explains every parameter. The description only restates the status and comment fields and adds nothing about execution_key/test_key semantics, so baseline 3 applies.

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 names a specific verb ("Update") and a precise resource ("status and comment of a test run within a test execution"), which is enough to separate it from siblings like update_test or update_gherkin_test_definition that operate on the test artifact rather than a run record. It stops short of explicitly naming those siblings, so the differentiation is implicit rather than stated.

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?

Usage is implied by the resource framing: call this to change a run's status/comment inside an execution. The parenthetical adds a real prerequisite (Xray credentials), but there is no statement of when-not to use it, no mention of what to do if the run does not exist yet, and no named alternative such as the result-import tools that could also set run outcomes.

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