Skip to main content
Glama
zeshuochen

nekoro-browser-mcp

by zeshuochen

close_tab

Close a specific browser tab by its ID, or the currently attached tab when no ID is provided. If the active tab is closed, the browser automatically reconnects to another available tab. Returns ok:false when no tabs remain to close.

Instructions

close_tab(123) — 关掉指定标签;tab 省略则关当前 attached tab。 走扩展 close_tab action(chrome.tabs.remove)。关掉活动标签后扩展会自动重连到 另一可用标签、经 attach 回调同步 active_tab_id。无标签可关 → ok:false。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabNo
Behavior4/5

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

There are no annotations provided, so the description carries full behavioral disclosure burden. It does well: explains it uses the chrome.tabs.remove extension action, describes the auto-reconnect behavior after closing an active tab (via attach callback syncing active_tab_id), and discloses the ok:false return when no tab is available to close. This is meaningful behavioral context beyond the raw name.

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 compact and information-dense: example call, omission default, underlying mechanism, reconnect behavior, and failure mode all in three sentences. It's front-loaded with the purpose and packs details efficiently without waste.

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 simple 1-param tool with no output schema and no annotations, the description covers purpose, parameter semantics, behavioral side-effects (reconnect after closing active tab), and failure signaling (ok:false). This is reasonably complete for the complexity level.

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 0% (the tab parameter has no description in the schema), so the description must compensate. It explains the example value (123) and the omission behavior, but doesn't elaborate on parameter constraints (e.g., whether negative/invalid ids produce specific errors). The description provides baseline value but doesn't fully compensate for zero schema coverage.

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 clearly states the tool closes a specified tab with example usage 'close_tab(123)'. It distinguishes itself from siblings like switch_tab and new_tab by the verb '关掉' (close) + resource (tab). However, it doesn't explicitly differentiate from other tab-related tools beyond the clear purpose.

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 implies usage context (closing a tab, defaulting to current attached tab if omitted) but provides no explicit when-to-use vs alternatives guidance. It does explain the tab-omission behavior clearly, which is useful context for an optional-parameter tool.

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/zeshuochen/nekoro-browser'

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