Skip to main content
Glama

xray_delete_precondition

Permanently delete an Xray precondition and unlink it from all associated tests. Use for cleanup of obsolete preconditions; the action cannot be undone.

Instructions

Delete an Xray precondition permanently. This also unlinks it from all associated tests. This action cannot be undone.

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

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesPrecondition issue key to delete, e.g. PROJ-123

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does well: it discloses the cascade side effect ('unlinks it from all associated tests') and irreversibility. It omits permission/auth requirements and any confirmation semantics, which keeps it short of a 5.

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 short sentences, front-loaded with the action and immediately followed by the two consequences that matter most: unlinking and irreversibility. No filler or redundancy.

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 two-parameter destructive tool with no output schema, the definition covers the essential facts: what is deleted, what else is affected, and that it cannot be reversed. Only the return/confirmation behavior and any authorization preconditions are absent, which is minor here.

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 issueId and format are already fully documented in the schema, including the 'PROJ-123' example. The description adds no parameter-level detail beyond confirming that the target is the precondition itself; baseline 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?

States a specific verb and resource: 'Delete an Xray precondition permanently.' It is unambiguous and clearly distinct from sibling operations like xray_get_precondition, xray_update_precondition, and xray_create_precondition, though it never names those siblings 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 implied by the destructive verb and the 'cannot be undone' warning, which signals caution. There is no explicit statement of when to use this versus alternatives (e.g., remove tests from a precondition first), so the agent must infer the workflow context.

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