Skip to main content
Glama

Close the browser

browser_close

Closes the browser cleanly, preserving profile state unless the profile is temporary, in which case it is deleted.

Instructions

Closes the browser cleanly. The profile keeps its state, unless it is temporary: then it is deleted.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the profile-state rule and the temporary-profile deletion case, but says nothing about what happens to open tabs, unsaved form data, in-flight navigation, or whether the result is reported back to the caller — significant gaps for a shutdown operation.

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?

Two short sentences with the state-persistence consequence front-loaded after the core action; nothing is padded or restated from the name.

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 tool with no output schema, the description covers the action and the most important side effect (profile retention vs deletion). Only the treatment of open tabs and any failure modes are left unaddressed.

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 no schema meaning for the description to add; baseline applies and no parameter text is needed.

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?

The description names a specific verb and resource ("Closes the browser cleanly") and adds a scope detail (profile persistence) that separates it from a mere tab operation. It never explicitly contrasts itself with the sibling tab_close, so an agent must infer that this ends the whole browser session rather than one tab.

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?

Usage is only implied: the mention of profile state suggests this is the end-of-session shutdown rather than a per-tab cleanup, but there is no explicit "use this when / use tab_close instead" statement or prerequisite guidance.

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