Skip to main content
Glama

xray_remove_environments_from_execution

Removes specified test environments from an Xray test execution by issue key, letting you correct or narrow which environments an execution covers.

Instructions

Remove test environments 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>",
      "testEnvironments": "<testEnvironments>"
    },
    "name": "xray_remove_environments_from_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
issueIdYesTest execution issue key, e.g. PROJ-456
testEnvironmentsYesEnvironment names to remove, e.g. ['Chrome']

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/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 burden of behavioral disclosure. It says nothing about whether the removal is irreversible, what happens if a named environment is not currently assigned, whether an empty environment list is allowed, or whether the change requires specific permissions — all critical for a mutation tool.

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 short sentence with no filler and the action front-loaded. It is efficient, though its brevity is part of why behavioral context is missing rather than a virtue of tight scoping.

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, one sentence is insufficient: the agent knows what is removed but not the consequences, error modes, or result shape. The schema covers inputs well, but the behavioral gap is significant for a destructive operation.

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%, with issueId, testEnvironments, and format all documented including an example and an enum. The description adds no meaning beyond the schema, so the baseline of 3 is appropriate.

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 pair ("Remove test environments from a test execution"), which an agent can immediately map to the corresponding add_environments tool. However, it never explicitly names or contrasts the inverse operation, leaving sibling differentiation to be inferred from the tool name alone.

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 mention of prerequisites (e.g., that the environments must already be assigned to the execution), and no reference to the alternatives such as xray_add_environments_to_execution or deleting the execution entirely. The agent must derive usage entirely from the name.

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