Skip to main content
Glama

cdp_events

Subscribe to and read raw Chrome DevTools Protocol events, optionally filtering by method names, to capture live browser activity. Clear stored events when needed.

Instructions

Suscribe y lee eventos crudos de CDP.

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": {
      "action": "<action>"
    },
    "name": "cdp_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
actionYes
methodsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden and provides essentially nothing. It does not say whether subscribing buffers events, whether it persists after the call, what 'clear' discards, whether results are paginated, or how many events are returned — all critical for a stateful subscribe/read/clear tool.

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

Conciseness2/5

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

A single short sentence is not verbose, but brevity here is under-specification rather than economy. There is no structure or front-loading of the essential usage or parameter information.

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

Completeness1/5

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

For a stateful three-parameter tool with no annotations, no output schema, and zero documented parameters, the definition is far too thin. An agent cannot determine what a call returns, whether events accumulate, or what the destructive 'clear' action removes.

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

Parameters1/5

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

Schema description coverage is 0% across three parameters, and the description adds no meaning for any of them. It never explains 'action' (and misses 'clear'), what 'limit' caps, or what format 'methods' expects for filtering CDP event names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb and resource ('Suscribe y lee eventos crudos de CDP'), which tells the agent it deals with raw CDP event streams. However, it omits the third enum action 'clear' entirely and gives no hint of how this differs from siblings like console_logs or network_capture, so the purpose is only partially pinned down.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool, when not to, or which sibling to prefer for event data. The agent must infer that 'raw CDP events' is the niche versus console_logs or network_capture, which is exactly the kind of routing decision the description should make explicit.

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