Skip to main content
Glama

Call a Chrome DevTools MCP operation

browser_devtools

Run any installed Chrome DevTools operation by exact name and arguments; inspect available operations first, and confirm sensitive actions when prompted.

Instructions

Call any operation exposed by the installed Chrome DevTools MCP backend using its exact tool name and arguments. Use browser_devtools_catalog first to inspect the available operations and schemas. Page-scoped operations target tabId when supplied, otherwise the only open browser tab. Sensitive operations first return a confirmationId; repeat the same call with that ID and confirmSensitiveActions=true only after the user confirms.

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": {
      "toolName": "<toolName>"
    },
    "name": "browser_devtools"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNo
toolNameYes
argumentsNo
confirmationIdNo
confirmSensitiveActionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the tab-scoping fallback (tabId when supplied, otherwise the single open tab) and the two-step confirmation protocol for sensitive operations. It does not say what a normal successful call returns or how backend errors surface, leaving some behavioral gaps for a tool with no annotation coverage.

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?

Four sentences, front-loaded with purpose, then prerequisite, then scoping, then the confirmation exception. No filler, and the ordering matches the order in which an agent needs the information.

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 generic dispatcher with a free-form nested arguments object and no output schema, the definition covers discovery, scoping, and confirmation adequately. The remaining gap is return-shape disclosure — only the confirmationId return is mentioned, not what a normal successful dispatch yields.

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

Parameters5/5

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

Schema description coverage is 0%, yet the description gives meaning to every parameter: toolName as the exact backend operation name, arguments as its payload, tabId with its fallback behavior, and the confirmationId/confirmSensitiveActions pair as the confirmation handshake. This is meaning the JSON schema alone cannot convey.

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 names a specific verb and resource — dispatching any operation exposed by the Chrome DevTools MCP backend by exact tool name and arguments — and explicitly positions browser_devtools_catalog as the discovery sibling. An agent can tell this is the generic execution path rather than the catalog listing.

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?

It states a concrete prerequisite: inspect browser_devtools_catalog first for available operations and schemas. The confirmation workflow also implies when a second call is appropriate. It stops short of saying when to prefer the other siblings (browser_inspect, browser_tabs) or when not to use this dispatcher.

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