Skip to main content
Glama

xray_get_test_details

Retrieve full Xray test details by Jira issue ID—including steps, type, status, and relations—to inspect test structure and coverage. Use the Atlassian MCP server for Jira issue fields.

Instructions

Get full details of an Xray test by issue ID, including steps, type, status, and relations. For Jira issue fields (assignee, components, etc.), 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_test_details"
  }
}

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

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden: it discloses the returned content (steps, type, status, relations) and implicitly signals a read operation via 'Get'. It does not state that the call is read-only, whether any permissions are required, or what happens for a missing/unauthorized issue ID, so meaningful behavioral gaps remain.

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 sentences, front-loaded with the core purpose, with the second sentence devoted entirely to redirecting the agent. No filler or redundancy.

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?

This is a simple two-parameter read tool with full schema coverage and no output schema, so the description's scope-plus-return-summary is nearly sufficient. Minor omissions are error/not-found behavior and any distinction from the expanded-test sibling.

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%, including an enum-documented 'format' parameter with its default, so the schema already does the heavy lifting. The description only reinforces 'by issue ID' (and supplies the PROJ-123 style example implicitly via the schema), adding no new semantic meaning.

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 and resource ('Get full details of an Xray test') and enumerates the payload ('steps, type, status, and relations'), so the agent knows exactly what comes back. It does not, however, disambiguate itself from the closely named sibling xray_get_expanded_test, which a reader could easily confuse with this one.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear use condition (fetching test details by issue ID) and explicitly routes the agent elsewhere for non-test Jira fields: 'use the Atlassian MCP server instead'. The gap is that it never states when to prefer a sibling such as xray_get_expanded_test or xray_get_coverable_issue, which look like plausible alternatives.

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