Skip to main content
Glama

debugger.pause_on_exceptions

Configure the browser debugger to pause on no exceptions, only uncaught exceptions, or all exceptions, so you can control when execution stops for debugging.

Instructions

Pause on no exceptions, only uncaught ones, or all of them.

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": {
      "state": "<state>"
    },
    "name": "debugger.pause_on_exceptions"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the agent knows this mutates state, but the description adds nothing about what the setting affects, whether it persists across sessions, or whether debugger.enable is required first. For a state-changing debugger configuration tool the behavioral burden is largely unmet.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, which is good, but it is under-specified rather than concise: the brevity comes at the cost of stating the actual operation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three parameters, a required enum, no output schema, and only sparse annotations, the description should carry more weight. It omits what happens on invocation, whether the setting is per-target or global, and how it relates to the rest of the debugger lifecycle.

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%, and the description's three modes map directly onto the state enum values already documented in the schema, so it adds little new meaning. The target_id and browser_id parameters are explained only in the schema, and their interaction (which target the setting applies to) is not clarified.

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 description enumerates the three modes ('no exceptions, only uncaught ones, or all of them') but never states the action: that it *sets* the debugger's exception-pause policy. Without a verb it reads as a restatement of the state enum rather than a statement of what the tool does, though the resource (exceptions) is identifiable.

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 guidance on when to use this versus siblings such as debugger.pause, debugger.resume, or console.exceptions, nor any prerequisite (e.g. that the debugger must be enabled). The agent must infer the context entirely.

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