Skip to main content
Glama

debugger.disable

Turn off debugging for a browser target and clear all breakpoints so execution can resume normally.

Instructions

Turn the debugger off and drop its breakpoints.

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.disable"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only give readOnlyHint=false and openWorldHint=true; they do not declare a destructive or idempotent profile, so the description genuinely adds value by disclosing that breakpoints are discarded, not merely suspended. It does not say whether this applies to all targets or only the active one, nor whether re-enabling restores the dropped breakpoints — a meaningful residual gap for a destructive operation.

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?

A single sentence with the action front-loaded and zero filler; the destructive consequence is attached to the same clause so nothing is buried.

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

Completeness4/5

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

For a two-optional-parameter teardown tool with no output schema, the description covers what the tool does and its main side effect. It leaves open the scope question (single target vs. all) and the reversibility of dropped breakpoints, which is the one thing an agent about to call a destructive tool would want.

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% and both optional parameters (target_id, browser_id) already document the 'omit for active page / auto-launch' defaults. The description adds no meaning beyond the schema, which is acceptable given full coverage but earns only the baseline.

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 ('turn off') against a specific resource ('the debugger') plus a concrete secondary effect ('drop its breakpoints'). It is clearly the inverse of the sibling debugger.enable, though it never names that sibling or any other alternative, so differentiation is by inference rather than statement.

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 by the inverse relationship with debugger.enable and by the word 'off' — an agent can reasonably infer this is called to tear down a debugging session. There is no explicit when-to-use, when-not-to-use, or prerequisite guidance (e.g. whether a session must exist first).

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