Skip to main content
Glama

xray_reset_test_run

Resets a test run to its initial state by clearing all statuses, comments, and step results—use when you need a clean run; this action cannot be undone.

Instructions

WARNING: Resets test run to initial state, clearing all status, comments, and step results. 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": {
      "id": "<id>"
    },
    "name": "xray_reset_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe internal Xray test run ID to reset
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon

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 a good job: it states exactly what data is destroyed (status, comments, step results) and that the action is irreversible. Gaps remain around permission/auth requirements and behavior on an invalid ID, which keeps it from 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?

Two short sentences, with the destructive warning front-loaded before the effect description. Every clause carries information; nothing is redundant or padded.

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 a fully documented schema and no output schema, the description covers what an agent most needs: the irreversible data loss. It omits auth/permission context and does not mention that the format parameter controls the response shape, minor gaps only.

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 both 'id' and the 'format' enum fully documented in the schema, so the baseline is 3. The description adds no extra meaning about the ID's expected form or how the format parameter affects the reset response.

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 names a specific verb and resource ('Resets test run to initial state') and enumerates the scope of the reset (status, comments, step results). This is clearly distinguishable from sibling mutators like xray_update_test_run_status or xray_update_test_run_comment, but it does not explicitly point to those alternatives, so it falls short of a 5.

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 only implied: the WARNING framing and 'cannot be undone' signal a destructive operation that should be used deliberately. There is no explicit when-to-use guidance, no mention of prerequisites (e.g., a valid existing run), and no reference to the non-destructive update siblings as alternatives.

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