Skip to main content
Glama
puppeteer-mcp-claude

puppeteer-mcp-claude

by jaenster

puppeteer_close_browser

Closes the entire Chromium browser and all open tabs, terminating the active Puppeteer session and releasing browser resources.

Instructions

Close the entire browser and all tabs.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.4/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. It does disclose the destructive scope (all tabs, not just one), but it says nothing about whether the browser session becomes unusable afterward, whether puppeteer_launch is required to continue, whether it errors when no browser is open, or whether pending operations are aborted.

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?

A single short sentence with zero filler, front-loading the action and its scope. Nothing is repeated or wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter teardown tool with no output schema the description covers the essential action, but with no annotations at all it leaves the key lifecycle consequence unstated: what state remains after closing and how to resume browsing. One clause on that would make it complete.

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?

The tool takes zero parameters and the schema is an empty object, so there is nothing for the description to clarify. Baseline 4 applies; the description correctly implies no arguments are needed by describing an unconditional global action.

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?

"Close the entire browser and all tabs" states a specific verb and resource, and the scope phrase "entire browser and all tabs" implicitly separates it from the sibling puppeteer_close_page, which presumably closes one tab. It stops short of naming that sibling outright, so the distinction is inferred rather than stated.

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?

The scope wording hints at when this is appropriate (tearing down the whole session rather than a single page), but there is no explicit when-to-use or when-not-to-use guidance and no alternative is named. An agent must infer the choice between this and puppeteer_close_page from the phrase "entire browser".

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