Skip to main content
Glama
nex-browser

NexBrowser MCP Server

Official
by nex-browser

nex_close_browsers

Destructive

Close specified NexBrowser environments using their window IDs. Ends browser sessions to release system resources.

Instructions

Close one or more NexBrowser environments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamIdNo
windowIdYes
Behavior3/5

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

The destructiveHint annotation already flags this as destructive, and the description's 'Close' aligns with that. The description adds that it can close multiple environments, but does not disclose further behavioral details such as irreversibility or effects on unsaved data. Given the annotation coverage, this is adequate but not enriched.

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?

The description is a single concise sentence with no unnecessary words or repetition. It is front-loaded and easy to parse.

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

Completeness3/5

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

The tool is simple, but the description lacks information about prerequisites (e.g., being connected to a NexBrowser), return values, or the distinction between closing and disconnecting. For a destructive action, more context would be helpful, but the description is reasonably complete for a basic close operation.

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 description coverage is 0%, so the description must compensate. It provides a minimal hint that windowId accepts a single value or array ('one or more'), but teamId is completely unexplained. This leaves a significant gap for a tool with two parameters.

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 uses a specific verb 'Close' and identifies the resource as 'NexBrowser environments', clearly distinguishing it from sibling tools like browser_tab_close and nex_open_browsers. The phrase 'one or more' also aligns with the schema's support for arrays.

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?

No explicit guidance is given on when to use this tool versus alternatives like browser_tab_close or nex_browser_disconnect. However, the resource term 'environments' implies it is for closing entire browser environments, making the intended usage somewhat evident.

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/nex-browser/nexbrowser-mcp'

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