Skip to main content
Glama

xray_remove_defects_from_step

Unlinks Jira issues (defects) from a specific step in an Xray test run. Use it to detach defect links by test run ID, step ID, and issue keys.

Instructions

Unlink Jira issues (defects) from a specific step within a test run.

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": {
      "testRunId": "<testRunId>",
      "stepId": "<stepId>",
      "issues": "<issues>"
    },
    "name": "xray_remove_defects_from_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issuesYesJira issue keys to unlink as defects
stepIdYesTest run step internal ID
testRunIdYesTest run internal ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior2/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, and it discloses almost nothing. It does not say whether unlinking is reversible, whether the issues remain on the run if removed from a single step, what happens when an issue key is not currently linked, or whether permissions/errors are involved. For a mutation tool with zero annotation coverage this is a substantial gap.

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?

A single, front-loaded sentence with no filler or repetition. It is efficient, though its brevity borders on under-specification rather than deliberate concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated mutation tool with no output schema, the description should cover side effects, idempotency and result shape. It covers only the basic operation, leaving an agent unable to predict what happens to the run-level defect list after a step-level unlink or what the response contains.

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 coverage is 100%, so testRunId, stepId, issues and format are all documented in the schema, establishing the baseline of 3. The description adds nothing beyond the schema, such as whether the response format choice affects the returned data or whether stepId must belong to testRunId.

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 gives a specific verb ("Unlink") and resource ("Jira issues (defects)") with a clear scope ("a specific step within a test run"). This implicitly distinguishes it from the run-level sibling xray_remove_defects_from_run and the inverse xray_add_defects_to_step, though no sibling is named explicitly.

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?

Usage is only implied by the scope wording: it tells you this operates on a step rather than a whole run, which is enough to route between the add/remove and step/run variants. There is no explicit when-to-use statement, no prerequisite conditions, and no mention of when a step-level removal is preferred over removing defects from the entire run.

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