Skip to main content
Glama

remove_breakpoint

DestructiveIdempotent

Removes a specific code or XHR breakpoint, or all breakpoints, using breakpoint ID or URL pattern after confirmation. Does not resume execution.

Instructions

Removes a known code breakpoint, XHR/Fetch breakpoint, or every MCP-managed breakpoint after explicit confirmation. Use breakpointId from set_breakpoint_on_text/list_breakpoints for remove_code, or reuse the exact URL pattern from break_on_xhr/list_breakpoints for remove_xhr. Removal does not resume an already paused page; call pause_or_resume(action="resume") separately after inspection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoExact URL substring pattern previously passed to break_on_xhr or returned by list_breakpoints. Used only with action="remove_xhr".
actionYesRequired removal mode: remove_code needs breakpointId, remove_xhr needs url, and remove_all removes both kinds.
confirmNoMust be true to authorize the selected removal action. This does not authorize or trigger resuming execution.
breakpointIdNoCurrent breakpoint ID returned by set_breakpoint_on_text or list_breakpoints. Used only with action="remove_code"; list again after a debugger/page-session rebuild because restoration may assign a new ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the tool completed successfully.
dataNoMachine-readable result payload.
toolYesStable MCP tool name.
errorNo
summaryYesConcise human-readable outcome.
Behavior5/5

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

The description discloses that removal does not resume a paused page, requires confirmation, and that breakpointId may need to be re-obtained after a debugger rebuild. This adds context beyond annotations (destructiveHint, idempotentHint, readOnlyHint) without contradiction.

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?

Two sentences that are front-loaded with the primary action and then provide usage specifics. No redundant or extraneous information.

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

Completeness5/5

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

Given the tool has 4 parameters, 1 required, and an output schema, the description covers all essential aspects: removal modes, parameter usage, confirmation requirement, post-removal behavior, and edge case handling (breakpointId rebuild). Complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 100% schema coverage, the description adds meaning to each parameter: explains url as an exact substring pattern, breakpointId caveat about session rebuild, confirm's authorization role, and action enum values. This enhances understanding beyond the schema's brief descriptions.

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

Purpose5/5

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

The description specifies the verb 'removes' and the resource 'breakpoint' with three distinct removal modes (code, XHR, all). It references sibling tools (set_breakpoint_on_text, break_on_xhr, list_breakpoints, pause_or_resume) to differentiate when each mode is applicable.

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

Usage Guidelines5/5

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

Explicit guidance on when to use each action: use breakpointId from set_breakpoint_on_text/list_breakpoints for remove_code, use exact URL pattern from break_on_xhr/list_breakpoints for remove_xhr. Also clarifies that removal does not resume a paused page and suggests calling pause_or_resume separately.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhizhuodemao/js-reverse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server