Skip to main content
Glama

Chrome DevTools Protocol

browser_cdp
Destructive

Web development and debugging only, never ordinary browsing: raw Chrome DevTools Protocol to the tab, a frame, a worker or the browser, and its events.

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

Input Schema

NameRequiredDescriptionDefault
actionNoDefault call.
eventsNosubscribe: e.g. ['Network.*']; [] stops.
methodNo
paramsNo
tab_idNoA result's tab_id.
targetNopage (default), browser or a target id.
frame_idNo
max_charsNoDefault 20000.
page_sizeNo
since_seqNo
session_idNoOnly with several sessions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the danger profile is carried structurally. The description usefully adds that commands can target tab, frame, worker or browser, but it never explains the four action modes (call, targets, subscribe, events) or warns that arbitrary method/params can mutate or break the page. For an 11-parameter, four-mode tool with destructive semantics, that leaves real behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the critical when-not constraint before the capability statement, with no redundant phrasing. The trailing 'and its events' is slightly clipped and sits awkwardly, but the sentence earns its place overall.

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

Completeness2/5

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

The tool has 11 parameters, four mutually distinct action modes, nested free-form params, and no output schema. The description explains none of the modes and gives no guidance on the subscribe/events lifecycle or on what a call returns, so an agent has to reverse-engineer the tool from the schema alone.

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 coverage is 55%, so roughly half the parameters carry their own descriptions, including tab_id, target and session_id. The description reinforces the target dimension (tab, frame, worker, browser) and the events concept, but adds nothing about method/params syntax, since_seq, page_size, or max_chars. Marginal value over the schema.

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?

The description names a specific capability: raw Chrome DevTools Protocol access, with the object scope ('the tab, a frame, a worker or the browser') and the event stream. The leading clause separates it from the ordinary-browsing siblings, so an agent can tell it is the low-level escape hatch rather than a click/navigate tool. It stops short of 5 only because the verb is elliptical ('raw ... protocol to the tab') rather than stated directly.

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

Usage Guidelines4/5

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

'Web development and debugging only, never ordinary browsing' is an explicit exclusion that rules out the whole browsing family (browser_click, browser_navigate, browser_evaluate). What is missing is positive routing: no named alternative for routine page interaction, and no statement of when raw CDP is actually the right pick versus the higher-level tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.