Skip to main content
Glama
andresolbach

nodriver-mcp-server

Shut down a browser

shutdown_browser
DestructiveIdempotent

Completely quit a browser's Chrome, freeing its name and all memory. Discards profile and runtime flags so the next use starts fresh. Use when an agent is finished with its browser.

Instructions

Quit one browser's Chrome and free its name, releasing all memory behind it. Use it when an agent is finished with its browser.

The difference to close_browser: close_browser quits Chrome but keeps the browser, so its selected profile and runtime flags survive and the next call relaunches Chrome with them. shutdown_browser discards that too, and the name starts fresh if it is ever used again.

The "default" browser cannot be retired, since it is the server itself; shutting it down quits its Chrome and resets it. A browser you attached to with use_running_browser is only detached from, never closed: it belongs to the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
browserNoName of the browser to shut down.default

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already indicate destructiveHint and idempotentHint, but the description adds significant beyond-schema context: this frees the browser name, releases memory, discards profile and runtime flags for future relaunches, resets the default browser rather than retiring it, and never closes user-attached browsers. That fully discloses the destructive and side-effect behavior.

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?

The description is concise and well-structured: main purpose first, followed by the key differentiator, then special cases. Every sentence carries necessary information, and no filler or repetition exists.

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

Completeness5/5

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

For a destructive tool with a single optional parameter and no output schema, the description covers all needed context: what is destroyed, persistence behavior, special handling of 'default', and the constraint on user-attached browsers. An agent has enough information to call this tool correctly and avoid misuse.

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?

The single parameter 'browser' is fully documented in the schema with its name and default value (100% schema coverage), so the baseline is 3. The description adds useful behavioral context about the 'default' browser and attached browsers, though it does not add new parameter-format or value guidance beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific action—'Quit one browser's Chrome and free its name'—which clearly identifies the resource and the operation. It also explicitly differentiates itself from close_browser, so an agent can distinguish the two without needing to inspect other schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the exact trigger: 'Use it when an agent is finished with its browser.' It then compares with close_browser and explains when that alternative is appropriate, and it warns that attached browsers and the 'default' browser are handled differently. This gives clear when-to-use and when-not-to-use guidance.

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