Skip to main content
Glama
BitePro

chrome-debugger-mcp

by BitePro

connect

Attach the debugger to a specific Chrome tab by providing a unique substring of its URL, after confirming the target with the user. Enables breakpoints, variable inspection, and step-through debugging via Chrome DevTools Protocol.

Instructions

[STEP 3] Connect the debugger to a specific Chrome tab. MANDATORY: call listTargets first, show the list to the user, wait for their explicit URL confirmation, then call this. NEVER guess the URL. NEVER skip user confirmation — even if only one tab is visible. targetUrl must be a unique substring of the tab URL the user confirmed (e.g. "localhost:5173"). Relay the "_ui" field from the response to the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portNoChrome remote debugging port (default 9222)
targetUrlYesUnique substring of the tab URL confirmed by the user (e.g. 'localhost:5173'). REQUIRED — always obtain from user confirmation.
Behavior4/5

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

With no annotations, the description fully carries the behavioral burden. It discloses the need for prior user confirmation, the requirement for a unique substring, and instructs relaying the '_ui' field. It implies a state change (connecting) but does not cover failure modes or side effects, so not a 5.

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 well-structured with a numbered step marker, mandatory instructions, and concise specifications. Every sentence is purposeful—prerequisites, constraints, and output handling—with no fluff.

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?

Given there is no output schema, it explains the '_ui' field relay. It covers prerequisites, workflow, input constraints, and output handling. It might benefit from noting error cases (e.g., if targetUrl not found), but for a connection tool it is sufficiently complete.

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% and both parameters are described in the schema. The description adds critical semantic value: targetUrl must be a unique substring confirmed by the user, and port has a default. It clarifies the usage context beyond the schema, enhancing understanding.

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 explicitly states 'Connect the debugger to a specific Chrome tab', using a specific verb and resource. It clearly differentiates from sibling tools like listTargets (which lists) and startDebuggingSession (which starts a session), and ties into a numbered workflow step.

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?

Provides explicit mandatory prerequisites and exclusions: 'MANDATORY: call listTargets first... wait for their explicit URL confirmation', 'NEVER guess the URL. NEVER skip user confirmation'. This gives clear when-to-use and workflow guidance, including how to obtain the targetUrl.

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