Skip to main content
Glama

debugger.wait_for_pause

Read-only

Blocks until browser execution pauses at a breakpoint or exception, then reports the pause location.

Instructions

Block until execution pauses (breakpoint hit or exception), then report where.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "debugger.wait_for_pause"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already mark it readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description usefully adds that the call blocks and what counts as a pause, but it never says what happens if timeout_ms expires (error, empty result, or continued blocking), which is the key behavioral risk for a blocking call.

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 no filler; the blocking behavior and pause conditions come first. Minor cost is that 'report where' is left vague rather than stating the return shape, though no output schema exists to cover it.

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 blocking, potentially long-running tool with no output schema, the definition omits the timeout outcome and the shape of the reported location. What is present is accurate but leaves the agent unable to plan around a timeout.

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 67%: target_id and browser_id are documented in the schema, but timeout_ms has no description anywhere. The description adds no parameter meaning, so an agent must guess the timeout's units and failure semantics.

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 action (block until pause) plus the triggering conditions (breakpoint hit or exception) and what follows (report where execution is). This distinguishes it from the active sibling debugger.pause, though no sibling is named explicitly.

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 implied: call this to wait for a debugger pause after arming breakpoints or exceptions. There is no explicit statement of when to prefer debugger.pause, debugger.step, or debugger.resume instead, and no when-not guidance.

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