Skip to main content
Glama

Close browser

close_browser
Destructive

Close the browser this server controls and save the session to its launched profile, so logins survive. Use it to end a browser session while keeping authentication for later runs.

Instructions

Close the browser this server controls (including the profile it launched). Sessions are saved to the profile, so logins survive.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, and the description usefully narrows that: only the server-controlled browser and the profile it launched are affected. The extra detail that sessions are saved and logins survive offsets the destructive framing. However, it does not say whether other open pages/tabs, in-flight work, or a pre-existing user profile are left untouched, which is the main remaining ambiguity.

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?

Two short sentences, front-loaded with the action and scope, then the state consequence. Nothing is redundant, though the parenthetical phrase is slightly awkward and could be folded in more cleanly.

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?

For a zero-parameter, no-output-schema teardown tool with annotations covering the safety profile, the description supplies the essential scope and the persistence consequence. What an agent still might want — whether other sessions or unsaved state are affected — is a minor gap given the low complexity.

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, so there is nothing for the description to explain and the baseline applies. No parameter-related confusion is possible.

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 ('the browser this server controls'), and the qualifier scopes it to the server-managed instance rather than any browser. It is distinguishable from the sibling automation tools, none of which terminate the session, though it does not explicitly say so.

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 explicit when-to-use or when-not-to-use guidance and no named alternative for cleaning up or resetting a session. The persistence note ('logins survive') is decision-relevant but does not tell the agent under which conditions closing is appropriate.

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