Skip to main content
Glama

browser_close

Destructive

Close the active browser page to terminate the current AI-driven browsing session.

Instructions

Close the page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Annotations already mark destructiveHint=true and readOnlyHint=false. The description 'Close the page' adds no additional behavioral context beyond what annotations provide, such as what happens to unsaved data, dialog handling, or whether the browser process ends.

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?

The description is extremely concise at three words, with no unnecessary information. It is front-loaded and efficient. However, it may be too terse, leaving room for ambiguity about the scope of closing.

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

Completeness2/5

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

The tool is simple (0 params, no output schema) but destructive. The description is insufficiently complete: it does not specify whether it closes the current tab or the entire browser, nor does it address unsaved changes or dialog prompts. Annotations provide destructiveHint, but the description should add more context.

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?

There are zero parameters and schema coverage is 100% (vacuously). Per rubric, 0 parameters earns a baseline of 4. The description does not need to add parameter information, but it could have elaborated on the scope of the close action.

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 'Close the page' clearly states the verb (close) and resource (page). It distinguishes itself from sibling tools like browser_navigate or browser_tabs, as closing is a distinct action. However, the ambiguity between 'page' and 'browser' (as seen in the annotation title) slightly reduces clarity.

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?

No guidance is provided on when to use browser_close versus alternatives such as browser_navigate_back or browser_resume. There is no mention of prerequisites, side effects, or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pelag-Michael/Chrome-for-AI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server