Skip to main content
Glama

xray_get_expanded_test

Retrieves an Xray test and expands nested call-test steps into a complete step hierarchy, so you can inspect the full test definition. Use Atlassian MCP for Jira issue fields.

Instructions

Get an Xray test with call-test steps resolved (nested step expansion). For Jira issue fields, use the Atlassian MCP server instead.

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": {
      "issueId": "<issueId>"
    },
    "name": "xray_get_expanded_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesThe Jira issue ID of the test (e.g. PROJ-123)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/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 does disclose the notable behavior that call-test steps are resolved into nested steps, but says nothing about permissions, error cases when a step reference is broken, or response shape beyond that one trait.

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?

Two short sentences, front-loaded with the core action and the shaping detail. The parenthetical '(nested step expansion)' mildly restates 'call-test steps resolved', which is the only redundancy.

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 two-parameter read tool with no output schema, an agent still lacks a description of what the returned expanded structure looks like and whether step depth is bounded. The exclusion note for Jira fields is useful, but the return-value picture remains thin.

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 issueId and the format enum fully documented in the schema. The description adds no extra meaning about the format options or issue ID expectations, so the schema does all the work — the 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?

It states a specific verb+resource ('Get an Xray test') and adds scope via 'with call-test steps resolved (nested step expansion)', which signals how this differs from a plain fetch. It does not explicitly name xray_get_test_details as the non-expanded alternative, so sibling differentiation is implied 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?

It gives one concrete routing rule: Jira issue fields should go through the Atlassian MCP server instead. However, it offers no guidance on when to choose this over xray_get_test_details or xray_list_expanded_tests, so the when-to-use logic is only partially covered.

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