Skip to main content
Glama

xray_get_precondition

Retrieve an Xray precondition by issue ID to view its type, definition, and linked tests. Use the Atlassian MCP server for Jira issue fields such as reporter, priority, and labels.

Instructions

Get an Xray precondition by issue ID, including precondition type, definition, and linked tests. For Jira issue fields (reporter, priority, labels) use the Atlassian MCP server.

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_precondition"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesPrecondition issue key, 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?

No annotations are supplied, so the description carries the full disclosure burden. The verb 'Get' plus the enumerated returned fields imply a safe read, but nothing states error behavior for an unknown issue key, access requirements, or output size; for a simple read tool this is adequate but not rich.

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 purpose, then a scoping exclusion. Every clause earns its place and nothing is padded.

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 two-parameter read tool with no output schema and no annotations, the description covers what the tool returns and where its boundary lies relative to the Atlassian server. Only the absence of any error or permission context keeps it from being fully complete.

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 both parameters, including the toon/json/summary enum, are already fully documented. The description adds only the notion that the identifier is an issue key, which the schema already conveys via the PROJ-123 example, so the baseline of 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 opens with a specific verb+resource pairing ('Get an Xray precondition by issue ID') and names the returned content (precondition type, definition, linked tests). It implicitly separates itself from the create/update/delete precondition siblings, but gives no differentiation against other read siblings such as xray_get_test_details or xray_get_dataset.

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?

The second sentence provides a concrete routing rule: for Jira issue fields (reporter, priority, labels) use the Atlassian MCP server instead. That is real when-to-use guidance with a named alternative, though there are no explicit when-not conditions or guidance on choosing between this and other Xray getters.

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