Skip to main content
Glama
puppeteer-mcp-claude

puppeteer-mcp-claude

by jaenster

puppeteer_screenshot

Captures a PNG screenshot of a Chromium page, returns the image inline for Claude to inspect, and optionally saves it to a specified path.

Instructions

Take a PNG screenshot. Returns the image inline so Claude can see it; optionally also saves to path.

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

Input Schema

NameRequiredDescriptionDefault
pathNo
pageIdNo
fullPageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It helpfully explains the return behavior (image returned inline, and optionally written to a file path), but omits whether a page must already be open, what page is captured by default, and what defaults apply to fullPage.

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 short clauses, the primary action and the return behavior are front-loaded, and there is no wasted wording.

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 tool with no annotations, no output schema, and three undocumented parameters, the description is thin. The return-value explanation is valuable, but the page targeting and full-page capture semantics an agent needs to call it correctly are absent.

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%, so the description must explain all three parameters. It only clarifies `path` (optional file save); `pageId` and `fullPage` are never mentioned, leaving their meaning and defaults undocumented anywhere in the definition.

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?

States a specific verb and resource ("Take a PNG screenshot") and adds the key outcome that the image is returned inline for Claude to see. It is unambiguous, but it does not distinguish itself from siblings such as puppeteer_get_text or puppeteer_navigate in terms of when a screenshot is the right choice.

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 guidance on when to use this tool versus alternatives, no mention of prerequisites (an active page or browser session), and no indication of when to set fullPage or pageId. The only usage hint is the incidental note that saving to `path` is optional.

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