Skip to main content
Glama

browser_close

Close a specified browser session to free its resources and discard its identity, so reopening starts fresh. Other browsers remain untouched.

Instructions

Close one browser and free what it was holding.

The page it had is gone with it. The other browser is not touched.

Closing FORGETS who that browser was: opening it again is a new stranger, not the same person resumed. That is deliberate - a browser somebody shut down should not come back wearing its old identity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
browserNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.43.0

TDQS

A3.7/5.0
Behavior5/5

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

Without annotations, the description carries the full burden and delivers crucial behavioral context: the page is destroyed, other browsers are unaffected, and identity is forgotten so reopening creates a new session. This covers side effects, scope, and a deliberate state-loss behavior that an agent could not infer otherwise.

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?

Efficiently organized: first sentence states the action, subsequent sentences explain the effects. No wasted words, though the identity-forgetting elaboration could be marginally tightened.

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?

A simple one-parameter tool with an output schema. The description thoroughly explains the behavioral impact, including subtle identity loss. However, it is incomplete regarding the parameter's meaning and default behavior, which an agent needs to call it correctly.

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%, and the description never mentions the 'browser' parameter, its enum values ('main', 'support'), or the default null behavior (which likely means closing the active browser). The parameter remains completely undocumented.

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 (close) and resource (browser), and clarifies the scope: it closes one browser, leaving the other sibling browser untouched. This distinguishes it from browser_open and other siblings, though it doesn't explicitly name which browser name is used.

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 description implies this is for ending a browser session, but gives no explicit guidance on when to use this versus simply stopping interaction or leaving the browser open. No prerequisites or alternatives are mentioned.

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