Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

start_chrome

Launch Chrome with remote debugging enabled and get a WebSocket endpoint URL for DevTools Protocol control. Reuses an existing connection if one is already active.

Instructions

Launch Chrome browser with debugging enabled. Returns WebSocket endpoint URL. If already connected, returns existing connection info.

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": "start_chrome"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoAdditional Chrome arguments
portNoDebug port. Default: 0 (random available port)
headlessNoRun in headless mode. Default: false
chromePathNoPath to Chrome executable. Auto-detected if not specified.
userDataDirNoUser data directory. Uses temp dir if not specified.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses the idempotent 'already connected' path and the return type, but says nothing about whether the call blocks until the browser is ready, what happens on port conflicts or a missing Chrome binary, error behavior, or that stop_chrome should be used for cleanup.

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?

Three short sentences with the core action front-loaded and no wasted words. The return value and idempotency note follow in priority order.

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 launch tool with no output schema, the description does the important work of stating what is returned and that an existing connection is reused. The remaining gap is lifecycle and failure context — readiness timing and cleanup via stop_chrome — which an agent launching a browser would benefit from knowing.

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%, so all five parameters (args, port, headless, chromePath, userDataDir) including defaults are already documented in the schema. The description adds no additional meaning such as default argument conventions or how userDataDir interacts with existing profiles, so the baseline of 3 applies.

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?

Names a specific verb and resource ('Launch Chrome browser with debugging enabled') and states the primary return value (WebSocket endpoint URL). It is clearly distinct from stop_chrome by name and verb, though it never explicitly contrasts itself with connect or start_worker.

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 only implied — an agent can infer this must run before page-level tools like activate_target or capture_screenshot. It gives one useful conditional (already connected → returns existing connection info) but never states when to prefer it over connect or start_worker, nor any prerequisites.

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