Skip to main content
Glama

cdp

Sends raw Chrome DevTools Protocol commands to a target Chrome tab when built-in browser tools lack the needed operation.

Instructions

Comando crudo de Chrome DevTools Protocol. Para lo que no cubran las otras herramientas.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "method": "<method>"
    },
    "name": "cdp"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
methodYesPor ejemplo Performance.getMetrics.
paramsNo
sessionIdNo
timeoutMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden and mostly drops it. 'Raw' hints that arbitrary protocol methods can be issued, but nothing says whether calls can mutate page/browser state, what happens on an invalid method, how errors or protocol-level exceptions surface, or what the response payload looks like. For a tool that can do literally anything the protocol exposes, that silence is a meaningful gap.

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?

Two short sentences, front-loaded with the identity of the tool and immediately followed by its routing rule. No filler. It is brief to the point of under-specification, but that is a completeness problem rather than a verbosity problem.

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?

For a five-parameter, nested-object, output-schema-less, annotation-less raw protocol tool, this is thin. An agent still doesn't know the return shape, whether sessionId is required for page-domain methods, or what timeoutMs defaults to and how a timeout manifests — all things that determine whether the call succeeds.

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

Parameters2/5

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

Schema description coverage is only 40%: tabId and method are documented in the schema, but params, sessionId, and timeoutMs are not. The description adds nothing about any of them — notably it never explains that params is the free-form CDP payload passed to the method, which is the single most important thing to understand before calling this tool.

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 resource and capability: a raw Chrome DevTools Protocol command channel, and explicitly frames it as the fallback layer beneath the higher-level tools. It stops short of naming which sibling covers what, so the differentiation is generic ('las otras herramientas') rather than concrete, but an agent can still tell this is the low-level escape hatch.

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?

It states a usable condition: use this for things the other tools don't cover. That is genuine when-to-use guidance, but there are no named alternatives, no when-not conditions, and no prerequisites (e.g. whether a tab session must already be attached or whether the method must exist in the target's protocol version).

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