Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

capture_snapshot

Captures a full page as an MHTML snapshot including HTML, CSS, and images for archiving; large snapshots are saved to a temporary file.

Instructions

Capture a full page snapshot as MHTML (includes HTML, CSS, images). Useful for archiving pages. Large snapshots (>=1MB) are automatically saved to a temp file.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "capture_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathNoSave snapshot to this file path instead of returning data

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the format, embedded resources, and the important size-based fallback ('>=1MB are automatically saved to a temp file'). However, it omits prerequisites (must a target/tab be attached?) and says nothing about the read-only vs mutating nature of the operation.

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?

Three short sentences, front-loaded with the core action and format, with no filler or repetition. The middle sentence is the weakest link but still earns its place as usage context.

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 one-parameter, zero-required tool the definition covers purpose, format, and the large-output fallback well. The remaining gap is the return value shape (no output schema exists, so the description should say what 'returning data' looks like, e.g., an MHTML string vs a file path); it only hints at this.

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

Parameters4/5

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

Only one optional parameter exists and schema description coverage is 100%, so the baseline is 3. The description goes slightly beyond the schema by explaining that large results spill to a temp file, which hints at when filePath and returned data interact, though it never mentions filePath directly.

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 states a specific verb and resource — 'Capture a full page snapshot as MHTML' — and clarifies the payload contents (HTML, CSS, images). It implicitly contrasts with the sibling capture_screenshot via the MHTML format, but never names or explicitly differentiates from it.

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?

'Useful for archiving pages' gives an implied use case but no explicit when-to-use/when-not guidance and no named alternative for cases where a plain image is preferable (e.g., capture_screenshot). The agent must infer the choice from the format description alone.

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

Deploy Server

Other Tools