Skip to main content
Glama

xray_remove_tests_from_precondition

Unlink one or more tests from an Xray precondition so it no longer appears as a setup requirement for those tests. Specify the precondition issue key and the test issue keys to detach.

Instructions

Unlink one or more tests from an Xray precondition. The precondition will no longer appear as a setup requirement for the unlinked tests.

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>",
      "testIssueIds": "<testIssueIds>"
    },
    "name": "xray_remove_tests_from_precondition"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesPrecondition issue key, e.g. PROJ-123
testIssueIdsYesIssue keys of tests to unlink from this precondition

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 provided, so the description must carry behavioral disclosure. It usefully explains the consequence that the precondition will no longer appear as a setup requirement for the unlinked tests, but it omits permissions, reversibility, side effects, and response behavior.

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?

The description is two sentences, front-loaded with the action and followed by the key behavioral consequence. There is no redundant or wasted wording.

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 three-parameter mutation with a fully described schema and no output schema, the description covers the operation and its main effect adequately. It could be strengthened with information about whether unlinking is reversible or what permissions are required, but the essential context is present.

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 parameter meanings are already fully documented in the input schema. The description adds only the high-level notion of one or more tests and the precondition, without adding syntax or format details beyond the schema.

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 uses a specific verb, "Unlink," and resource, "one or more tests from an Xray precondition," clearly identifying the operation. The resource scope differentiates it from sibling tools that remove tests from plans, executions, folders, or sets.

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?

It provides clear implied usage context: removing test associations from a precondition. However, it does not explicitly state when to use this versus alternatives such as xray_add_tests_to_precondition or xray_delete_precondition, nor does it mention exclusions or prerequisites.

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