Skip to main content
Glama

xray_set_test_run_timer

Control the execution timer for a test run by starting, stopping, or resetting it to accurately track test duration.

Instructions

Control the execution timer for a test run. Set running=true to start, running=false to stop, reset=true to reset.

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>"
    },
    "name": "xray_set_test_run_timer"
  }
}

Input Schema

NameRequiredDescriptionDefault
resetNoSet to true to reset the timer
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon
runningNoSet to true to start the timer, false to stop it
testRunIdYesThe internal Xray test run ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses the start/stop/reset semantics, but omits permissions or auth requirements, whether running and reset can be combined, idempotency, and what the call returns or affects.

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, front-loaded with the purpose and followed by the flag semantics; there is no filler or redundancy.

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 simple four-parameter mutation tool with no annotations and no output schema, the description covers the control actions but never mentions the format parameter or what a successful response contains. Adequate, but leaving the response contract unaddressed is a gap.

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 the baseline is 3. The description restates the schema's own parameter meanings (running=true starts, false stops, reset=true resets) without adding syntax, precedence rules, or clarification on whether the flags are mutually exclusive.

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 states a specific verb-plus-resource: control the execution timer for a test run, and names the three control operations. It is clear about scope, though it does not explicitly distinguish itself from the similarly named sibling xray_reset_test_run, which could confuse an agent choosing between them.

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?

It explains how to use the running and reset flags but gives no explicit guidance on when this tool is the right choice versus xray_reset_test_run or xray_update_test_run_status. Usage is implied by parameter semantics rather than stated as a selection rule.

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