Skip to main content
Glama
BitePro

chrome-debugger-mcp

by BitePro

setBreakpoint

Set a JavaScript breakpoint at a specific script URL and line number via CDP, no source edits needed. Use exact URL or regex match, then reload the page to activate.

Instructions

Set a breakpoint at a specific script URL and line number via CDP — no source code modification needed. Use a full URL (https://...) for exact match, or a partial filename/keyword for regex match. Alternative to inserting debugger; when you cannot modify the source file. After setting, call reloadPage() to ensure the breakpoint resolves correctly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesScript URL or URL pattern to match
lineYes0-based line number
columnNo0-based column number
conditionNoConditional breakpoint expression
Behavior4/5

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

With no annotations provided, the description carries the full burden for behavioral context. It discloses the CDP mechanism, that no source modification is needed, how URL matching works, and the need to reload. It does not state that a debugging session must be active, but the sibling context implies this.

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?

The description is three sentences long and front-loaded with the core purpose. Each sentence adds necessary information: what it does, how to match URLs, and the required follow-up action. No wasted words.

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?

The tool has four parameters, no output schema, and no annotations, so the description must provide most of the usage context. It covers purpose, URL matching, and reload guidance. A minor gap is that it does not mention the need for an active debugging session, though siblings like connect and startDebuggingSession imply it.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds meaningful semantics by explaining that full URLs are exact-matched while partial filenames/keywords are regex-matched, which is not evident from the schema alone.

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 clearly states the action: setting a breakpoint at a script URL and line number via CDP. It distinguishes itself from siblings like removeBreakpoint and waitForPause by focusing on breakpoint creation and explicitly noting it is an alternative to inserting debugger statements.

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?

The description gives explicit when-to-use guidance: use this when the source file cannot be modified and as an alternative to inserting debugger. It also provides a concrete follow-up action (call reloadPage) to ensure the breakpoint resolves.

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/BitePro/chrome-debugger-mcp'

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