Skip to main content
Glama
netcare-io

jira-xray-cloud-mcp

by netcare-io

Xray Update Test Run Defects

xray_update_test_run_defects
Idempotent

Link or unlink Jira defect issues to a Xray test run by specifying the test run ID and defect keys to add or remove.

Instructions

Link and/or unlink defects on a test run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addNoDefect issue keys or ids to link.
removeNoDefect issue keys or ids to unlink.
test_run_idYesTest run id, from xray_get_test_execution or xray_get_test_runs.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description's 'link and/or unlink' reinforces the mutation semantics but adds no context on permission requirements, duplicate handling, or what happens to existing defect links. Adequate but thin beyond the annotations.

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; the 'and/or' phrasing efficiently conveys that both operations can occur in one call. It is on the terse side, but nothing is wasted or buried.

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?

With an output schema present, return values need not be explained, and the input schema fully documents the three parameters. However, for a write tool that modifies defect associations, the description omits any statement about merge vs replace behavior or error conditions, leaving a real gap for correct invocation.

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 the definitions for add, remove, and test_run_id are already documented, including the source of the test_run_id. The description repeats the link/unlink mapping already implied by the schema without adding format or constraint detail, which is the expected baseline at full coverage.

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 states a specific verb pair (link/unlink) and a specific resource (defects on a test run), which cleanly separates it from adjacent siblings such as xray_add_test_run_evidence and xray_update_test_run. It stops short of naming any alternative tool, so it lands at a solid 4 rather than 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, no note that 'add' and 'remove' may be supplied together, and no prerequisites or ordering advice. The agent must infer usage entirely from the name and schema.

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