Skip to main content
Glama

close_browser

Shut down the browser and all renderer processes to release resources and prevent lingering automation sessions.

Instructions

Completely close the browser window, terminate all browser and renderer processes, and release all resources.

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
forceNo
force_killNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description does the important work of disclosing that this is destructive and broad: all browser and renderer processes are terminated and resources released. It stops short of stating that session state, unsaved form data, and cookies-in-memory are lost, or what the response looks like after termination.

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?

A single front-loaded sentence with three purposeful clauses; 'release all resources' is somewhat implied by process termination but adds a useful closure signal. No filler or hedging.

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?

An output schema exists, so return values need not be explained, and the destructive scope is stated. The notable gap is the completely undocumented force/force_kill pair, which matters for a shutdown tool where a forceful kill can corrupt state.

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 coverage is 0% and the description never mentions the two booleans, force and force_kill, so the agent gets no help distinguishing them (notably why force_kill defaults to true while force defaults to false). 'Terminate all processes' loosely gestures at a kill behavior but does not map to either parameter.

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 and resource ('Completely close the browser window') plus the process-level effect (terminate all browser and renderer processes). The word 'Completely' implicitly separates it from close_tab, though no sibling is named.

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 guidance and no mention of alternatives such as close_tab for a single tab or restart_browser. The agent must infer that this is the full-shutdown option rather than a targeted close.

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