Skip to main content
Glama

xray_get_test_run

Retrieve a test run by test issue key and test execution issue key to view its status, comment, and timing.

Instructions

Get a test run by test issue key and test execution issue key. Returns the run status, comment, and timing.

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": {
      "testIssueId": "<testIssueId>",
      "testExecIssueId": "<testExecIssueId>"
    },
    "name": "xray_get_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
testIssueIdYesThe Jira issue key of the test (e.g. 'PROJ-123')
testExecIssueIdYesThe Jira issue key of the test execution (e.g. 'PROJ-456')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It helpfully discloses what the response contains (run status, comment, timing) and implies a safe read, but says nothing about error behavior when a key is invalid or missing, permissions, or idempotency.

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?

Two short sentences with no filler, and the retrieval mechanism is front-loaded before the return-value summary. Every sentence contributes useful information.

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 simple read tool with no output schema, describing the returned fields is a useful addition. However, the definition does not help an agent select between this tool and xray_get_test_run_by_id, and with no annotations it does not cover failure or permission behavior, leaving a selection gap.

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%, so the schema already documents all three parameters, including the format enum. The description adds a mapping between the two identifying keys and the lookup, but does not mention the format parameter or add meaning beyond the schema. 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?

States a specific verb and resource plus the two keys that identify the run: "Get a test run by test issue key and test execution issue key." That is clear enough for an agent to know what it retrieves, but it does not distinguish itself from the sibling xray_get_test_run_by_id, which likely serves a similar purpose.

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?

No explicit guidance on when to use this composite-key lookup versus xray_get_test_run_by_id, nor any prerequisites or exclusions. The verb "Get" implies a read operation, but the definition leaves the choice between retrieval tools entirely to inference.

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