Skip to main content
Glama

Chrome DevTools

devtools

Capture on-demand Chrome performance data: record HAR network requests, CPU profiles, heap snapshots, and code coverage, or throttle network and CPU conditions while an action runs.

Instructions

On-demand Chrome DevTools capture. HAR records network requests, CPU profiles show hot functions, heap snapshots capture memory, coverage finds unused JavaScript, and throttle applies network/CPU conditions. Capture state is kept only while an action is running.

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

Input Schema

NameRequiredDescriptionDefault
actionYes
offlineNo
cpu_rateNo
latency_msNo
upload_kbpsNo
download_kbpsNo
include_bodiesNoFor har_stop: include response bodies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.2

TDQS

A3.6/5.0
Behavior3/5

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

The single annotation (readOnlyHint=false) only signals that this is not a pure read, so the description must carry the rest. "Capture state is kept only while an action is running" is genuinely useful lifecycle information not present in the annotations. However, it leaves important behavior undisclosed: whether throttle persists after the call returns, what happens on duplicate starts, and whether recorded artifacts must be fetched separately.

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?

Two dense sentences, front-loaded with the core purpose before the action breakdown. Every clause carries information — the action enumeration and the state-lifetime note both earn their place, with no filler.

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 an 8-action, 7-parameter multiplexed tool with no output schema, the description conveys enough to call it: it names each capture type and its resulting artifact and warns about ephemeral state. Remaining gaps are the operational ones — session pairing, throttle persistence, and the undocumented numeric parameters — which keep it from being fully complete.

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 only 14% (just include_bodies), so the description needs to compensate. It maps the action enum to concrete outcomes, which helps, and "throttle applies network/CPU conditions" loosely implies that offline, latency_ms, cpu_rate, upload_kbps, and download_kbps belong to the throttle action. But none of those five parameters get explicit semantics, units, or defaults, and the pairing of start/stop actions is not spelled out.

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?

"On-demand Chrome DevTools capture" gives a clear verb and resource, and the sentence enumerates what each action produces (HAR = network requests, CPU profiles = hot functions, heap = memory, coverage = unused JS, throttle = network/CPU conditions). It stops short of distinguishing this tool from same-domain siblings such as network, perf, or console, so an agent must infer the boundary.

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?

Usage is only implied by the action vocabulary; there is no explicit "use this when..." or "prefer X instead" guidance. The agent can guess that har_start/har_stop bracket a network-recording session, but nothing states ordering rules, whether start/stop must be paired, or when to choose this over the sibling perf or network tools.

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