Skip to main content
Glama

rr_replay_start

Starts an interactive replay session for a trace and its matching debug-symbol executable, returning a session ID and initial stopped location for context inspection.

Instructions

Start an interactive replay session for a trace and its debug-symbol binary.

Provide the exact executable used by the recording, preferably an unstripped build with debug symbols. The response includes session_id and the initial stopped location. Use rr_inspect to collect context before moving 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": {
      "trace_path": "<trace_path>",
      "executable": "<executable>"
    },
    "name": "rr_replay_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
executableYes
trace_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses useful behavior: the session is interactive, starts stopped, and returns session_id plus the initial stopped location. It omits session lifecycle concerns such as resource holding, whether the session must be closed via rr_session_close, or concurrency limits.

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?

Four compact sentences with the core action front-loaded, followed by prerequisite and next-step guidance. No filler, though the line break mid-sentence between the first two sentences slightly interrupts flow.

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 two-parameter tool with no annotations and no output schema, the description usefully documents return values (session_id, stopped location) and the recommended follow-up. It is still thin on trace_path semantics and session lifetime, which matter for an interactive session resource.

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 0%, so the description must compensate for both parameters. It explains the executable well (must match the recording, unstripped with debug symbols) but leaves trace_path only implied, with no guidance on where traces come from or accepted formats.

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: 'Start an interactive replay session for a trace and its debug-symbol binary.' An agent can tell this begins a replay session on a recorded trace, distinct from rr_record or rr_list_traces, though no sibling is named as an explicit contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete prerequisites ('Provide the exact executable used by the recording, preferably an unstripped build with debug symbols') and a next step ('Use rr_inspect to collect context before moving execution'). It does not state when not to use it or what to do on failure, so it falls short of full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.