Skip to main content
Glama

browser_devtools

Inspect and automate Chrome pages: capture DOM snapshots, evaluate JavaScript, and review console logs and network requests for debugging and web testing.

Instructions

Deep Chrome DevTools inspection & automation via chrome-devtools-mcp (DOM snapshots, JS eval, Console logs, Network requests).

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": "browser_devtools"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it only says 'inspection & automation.' It does not disclose that the action set includes mutating operations (click, fill, navigate_page, close_page), whether the browser state persists between calls, permission or connection requirements, or how errors surface. The word 'automation' hints at side effects but nothing more is stated.

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?

It is a single, front-loaded sentence with the core verb and capability list up front and no filler. Given the tool's 22-action breadth, however, the brevity edges toward underspecification rather than tight writing.

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 high-complexity tool with 22 enum actions, a nested free-form args object, no annotations, and no output schema, the description is far too thin. An agent would need to experiment to learn the required args per action and the side effects of mutating actions.

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 0% and there are two parameters, one of which (args) is an open object with no declared properties. The description never explains what args must contain for any of the 22 actions, and the parenthetical only loosely maps a few capabilities to action names; this leaves the caller to guess the per-action payload shape.

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 (Chrome DevTools) and a concrete capability set (DOM snapshots, JS eval, console logs, network requests), so an agent knows broadly what it does. It does not explicitly differentiate itself from the sibling browser_cua or explain why 'deep' inspection differs from that alternative, so it falls short of a 5.

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 when-to-use or when-not-to-use guidance. The description lists capabilities but never says which situations call for this tool over browser_cua or the desktop_* tools, and it does not mention prerequisites such as needing a running Chrome instance.

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