Skip to main content
Glama

debugger_wait

Read-only

Waits for a debugger stop or terminal observation and returns when either occurs; a timeout leaves the target running.

Instructions

Wait for a stop or terminal observation; timeout leaves the target running.

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": {
      "session_id": "<session_id>",
      "execution": "<execution>"
    },
    "name": "debugger_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutNo
executionYes
session_idYes

Output Schema

NameRequiredDescriptionDefault
outcomeYes
snapshotYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact — that a timeout leaves the target running rather than stopping it — but says nothing about blocking behavior, whether the call returns immediately on an already-stopped target, or what session state is 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 compact sentence with the most consequential fact (timeout leaves the target running) placed after the purpose clause. No filler, though the brevity shades into under-specification rather than efficiency.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. Still, for a blocking debugger primitive the description omits how long it blocks by default and how session_id and execution identifiers relate, leaving meaningful gaps.

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?

The description implies the timeout is a wait bound with a side effect on the target, which adds a little meaning beyond the schema. However, it does nothing to clarify the relationship between the top-level 'session_id' and the 'session_id' nested inside 'execution', leaving a real ambiguity the agent must guess at.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'wait' and the outcome 'stop or terminal observation' give a rough sense of the operation, but the phrase 'terminal observation' is undefined and the tool is not distinguished from close siblings such as debugger_pause, debugger_continue, or debugger_get, which an agent could plausibly confuse it with.

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 explicit statement of when to call this instead of debugger_pause or debugger_continue, nor any prerequisite such as needing an already-running execution. Usage is only inferable from the word 'wait'.

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