Skip to main content
Glama

cdp.send

Send any raw Chrome DevTools Protocol command when no typed tool covers the needed browser capability; large results are saved as an artifact.

Instructions

Escape hatch: send any raw Chrome DevTools Protocol command. Use when no typed tool covers the capability. Large results are stored as an artifact instead of being inlined.

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.send"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodYesCDP method, e.g. "Page.getNavigationHistory".
paramsNo
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, and the description is consistent with that by framing the tool as arbitrary raw command dispatch. It adds real behavioral value by disclosing that large results are spilled to an artifact rather than inlined, which changes how the agent must handle output. It stops short of warning that arbitrary CDP methods can mutate page/browser state or of noting any auth/rate constraints.

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, each doing distinct work: identity, routing rule, and output behavior. The most decision-relevant information (escape hatch, prefer typed tools) is front-loaded.

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 raw-protocol tool with no output schema, the description covers purpose, fallback usage, and what happens to oversized results. The main remaining gap is that the free-form `params` payload — the crux of a raw CDP call — is left entirely to schema silence, with no pointer on how to shape or validate it.

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 60%: method, target_id, and browser_id are documented in the schema, while the free-form `params` object and `timeout_ms` are not. The description adds nothing about any parameter, so the undocumented ones remain unexplained in both places — the baseline 3 for mid coverage applies.

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?

States a specific verb and resource ("send any raw Chrome DevTools Protocol command") and frames its role as an escape hatch, which immediately distinguishes it from the typed sibling tools. An agent can tell what this does without opening the schema.

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?

"Use when no typed tool covers the capability" gives an explicit selection rule and an implicit exclusion (prefer typed tools when one exists). This is precisely the routing guidance an escape-hatch tool needs.

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