Skip to main content
Glama

xray_get_coverable_issue

Get test coverage status for a Jira issue: see if tests cover it and the coverage percentage, helping identify testing gaps.

Instructions

Get test coverage status for a Jira issue (story, bug, etc.). Returns whether the issue is covered by tests and the coverage percentage. For Jira issue details, 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_coverable_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesJira issue ID or key (story, bug, etc.) to get coverage for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/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 does disclose the key output: whether the issue is covered and the coverage percentage. It does not mention read-only safety, authentication needs, error behavior, or side effects, leaving meaningful behavioral context unstated.

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?

Three sentences, front-loaded with the core purpose, with no unnecessary wording. The alternative guidance is placed appropriately after the main behavior.

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 simple read tool with a fully described schema, the description explains the primary return values sufficiently. It could be more complete regarding empty or missing coverage cases, but nothing essential for calling the tool is missing.

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 issueId and format are already well documented by the schema. The description repeats the issue ID concept but adds no syntax, format, or default guidance beyond what the schema provides.

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

Purpose5/5

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

The description states a specific verb and resource: getting test coverage status for a Jira issue, including stories and bugs. It also clarifies the return content and distinguishes Jira issue details as belonging to the Atlassian MCP server.

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 clearly indicates when to use this tool for coverage status and explicitly routes Jira issue detail requests to the Atlassian MCP server. It does not explicitly contrast with the sibling xray_list_coverable_issues or state when-not to use this tool.

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