Skip to main content
Glama
ricardodeazambuja

browser-mcp-server

browser_close_page

Closes a browser page using its index; closes the current page if no index is provided.

Instructions

Close a browser page (tab) (see browser_docs)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexNoThe index of the page to close. If not provided, closes current page.
Behavior2/5

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

With no annotations provided, the description carries full burden. It only says 'Close a browser page' and defers to browser_docs, failing to disclose side effects (e.g., closing last tab's effect on browser) or confirmation behaviors.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one short sentence and a reference, which is concise. However, it could be more structured or front-loaded with key information rather than deferring to documentation.

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?

Given no output schema and no annotations, the description is incomplete. It doesn't explain return behavior, error cases (e.g., invalid index), or whether the tab index refers to zero-based or one-based indexing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with parameter description for 'index'. The tool description adds nothing beyond 'see browser_docs', so it does not improve understanding of the parameter beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Close a browser page (tab)', providing a specific verb and resource. It naturally distinguishes from sibling tools like browser_switch_page (switch) and browser_new_page (open).

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 does not provide explicit guidance on when to use this tool vs alternatives. It implies usage by stating the action, but lacks context like 'use this when you want to remove a tab' or alternatives.

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/ricardodeazambuja/browser-mcp-server'

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