Skip to main content
Glama
kitepon

Chrome Ops MCP

by kitepon

devtools_attach

Attach Chrome DevTools Protocol to a browser tab and start collecting console, log, and network events for inspection.

Instructions

Attach Chrome DevTools Protocol to a tab and start collecting Console, Log and Network events.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0-alpha.0

TDQS

B3.2/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 burden of behavioral disclosure. It states that it starts event collection, but does not disclose side effects such as potential performance impact, whether repeated attachment is allowed, whether it requires an active tab, or what happens on failure. There is no mention of prerequisites like needing to first list tabs to obtain a tabId, nor any warning about resource cleanup. This is a significant gap for a state-changing tool that initiates a collection process.

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?

The description is a single, front-loaded sentence that states the action and its immediate consequence. It is not verbose, and every word contributes to the core meaning. However, it is so terse that it omits important usage and behavioral details that would not bloat it significantly if added. It earns a 4 for being concise and well-structured, but it sacrifices completeness for brevity.

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 is part of a clear workflow: attach, read events, detach. The description gives no hint of this flow, nor does it mention the availability of sibling read tools (console_read, network_read) that depend on this attachment. It also lacks information about the return value (whether it returns success/failure) and any prerequisites. Given that there is no output schema and no annotations, the description leaves the agent with only a surface-level understanding, which is insufficient for correct usage in a multi-step process.

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?

The schema has 0% description coverage for its single parameter tabId, and the tool description does not mention the parameter at all. While the name and context imply that tabId identifies the target tab, the description fails to explain how to obtain it or any constraints beyond the schema's numeric bounds. This forces the agent to infer the parameter's meaning, which is risky in a workflow with sibling tools like tabs_list that likely provide the ID. The description should at least hint that tabId comes from tabs_list.

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?

The description clearly states the action (attach), the resource (Chrome DevTools Protocol to a tab), and the immediate effect (start collecting Console, Log, and Network events). This distinguishes it from sibling tools like devtools_detach (opposite action) and console_read/network_read (which presumably consume the collected events). The verb and resource are specific, leaving no ambiguity about what the tool does.

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?

The description implies that this tool should be used before reading events, but it never explicitly states when to use it versus alternatives, nor does it mention prerequisites or exclusions. For example, it does not say 'Use this before console_read or network_read' or warn against attaching to an already-attached tab. The usage context is only inferred from the 'start collecting' phrasing, so it is adequate but not explicit.

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