Skip to main content
Glama

xray_remove_tests_from_execution

Remove specific tests from a Xray test execution by issue key so you can correct or update execution scope without deleting the execution.

Instructions

Remove one or more tests from a test execution.

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

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesTest execution issue key, e.g. PROJ-456
testIssueIdsYesIssue keys of tests to remove, e.g. ['PROJ-1', 'PROJ-2']

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. It does not state whether the test issues themselves are deleted or merely unlinked from the execution, whether the operation is idempotent, what happens with keys not currently in the execution, or whether special permissions are needed for this mutation.

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?

One front-loaded sentence with no filler or repetition. It is efficient, though its terseness is part of why behavioral and usage detail are absent.

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?

The input schema is fully self-documenting and there is no output schema to explain, so an agent can construct a valid call. The gap is behavioral rather than structural: for a destructive mutation the description could say more about the effect on the tests themselves.

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%, with each parameter documented including examples and an enum for format, so the baseline of 3 applies. The description adds nothing about the meaning of issueId versus testIssueIds or how many tests can be removed at once, beyond what the schema already says.

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 ("Remove") and resource ("tests") with the containing object ("test execution"), which is enough to distinguish it from the sibling variants that remove tests from folders, plans, sets, or preconditions. It does not explicitly name any sibling, but the target object is stated precisely.

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 when-to-use guidance, no prerequisites, and no mention of the inverse tool (xray_add_tests_to_execution) or of when to delete an execution instead. The agent must infer the correct context purely from the tool name and the phrase "from a test execution".

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