Skip to main content
Glama
puppeteer-mcp-claude

puppeteer-mcp-claude

by jaenster

puppeteer_launch

Launch a new browser instance or connect to an existing Chrome via remote debugging to start browser automation and control pages.

Instructions

Launch a new Puppeteer browser instance or connect to existing Chrome with remote debugging. Optional — the server will auto-launch with defaults the first time you use any other tool.

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_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo
proxyNo
slowMoNo
stealthNoEnable anti-detection tweaks
headlessNo
viewportNo
userAgentNo
userDataDirNo
executablePathNo
browserWSEndpointNoWebSocket endpoint for an existing Chrome (e.g. ws://localhost:9222)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.4/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, and it does disclose real behavior: the call is optional and defaults are auto-applied on first use. However, it omits key operational facts for a 10-parameter launcher — whether a second launch replaces or errors against an existing instance, precedence between browserWSEndpoint and executablePath, and persistence of userDataDir.

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 sentences, both load-bearing, with the primary action stated first and the optionality caveat second. No filler, no restatement of the title.

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 10-parameter, nested-object, zero-annotation, zero-output-schema tool, the description is thin. It never explains the launch-configuration parameters or the interaction between the two launch modes, so an agent cannot confidently configure a non-default launch from this text alone.

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 only 20% across 10 parameters, so the description must compensate and largely does not. It hints at browserWSEndpoint ('connect to existing Chrome with remote debugging') but says nothing about args, slowMo, stealth, proxy, userAgent, userDataDir, executablePath, headless, or viewport structure, leaving most parameters undocumented in both places.

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 verb and resource ('Launch a new Puppeteer browser instance') and distinguishes two modes: fresh launch vs. connecting to an existing Chrome via remote debugging. It is clearly a browser-lifecycle tool rather than a page-level one like the puppeteer_* siblings, though it never explicitly contrasts itself with them.

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?

The second sentence gives explicit when-not guidance: the tool is 'Optional' because the server auto-launches with defaults on first use of any other tool. That is strong context for skipping the call. It stops short of stating when a manual launch is actually warranted (custom viewport, proxy, stealth, etc.).

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