Skip to main content
Glama

xray_remove_evidence_from_step

Remove evidence attachments from a specific step in a Xray test run using step and evidence IDs. Cleans up unwanted files tied to a test step.

Instructions

Remove evidence attachments from a specific step within a test run.

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": {
      "testRunId": "<testRunId>",
      "stepId": "<stepId>",
      "evidenceIds": "<evidenceIds>"
    },
    "name": "xray_remove_evidence_from_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
stepIdYesTest run step internal ID
testRunIdYesTest run internal ID
evidenceIdsYesEvidence IDs to remove from the step

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool. It does not say whether removal is permanent, whether the underlying evidence record is deleted or merely detached, what happens if an ID is not attached, or what permissions are required.

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 the resource and scope stated up front and no wasted words. It is efficient but leaves no room for the behavioral caveats this mutation tool needs.

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?

For a 4-parameter destructive operation with no annotations and no output schema, the description is only minimally adequate. The schema covers parameters fully, but nothing tells the agent whether the operation is reversible or what the response indicates, which matters for a removal tool.

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 testRunId, stepId, evidenceIds, and the format enum are already documented in the schema. The description adds only the batch notion implicit in 'attachments' and no format or ID syntax detail, so baseline 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 (remove) plus resource (evidence attachments) plus scope (a specific step within a test run), which is enough to distinguish it from run-level or defect-level removal. It stops short of naming the sibling alternative (xray_remove_evidence_from_run) explicitly, so the differentiation is inferred rather than stated.

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?

The scope phrase 'within a test run' implies this is the step-level counterpart to run-level evidence removal, which is useful. However, there is no explicit when-to-use guidance, no exclusion of the run-level variant, and no mention of prerequisites such as the evidence being currently attached.

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