Skip to main content
Glama

vibeside_close_tab

Close a browser tab by index, tab ID, or URL pattern, defaulting to the active tab. Keeps a clean tab open when closing the last one.

Instructions

Close an open browser tab by index, target ID, or URL pattern (defaults to active tab). If closing the only tab, automatically ensures a clean tab remains open.

Input Schema

NameRequiredDescriptionDefault
indexNoZero-based index of the tab to close. Defaults to closing the active tab.
tabIdNoUnique target or tab ID to close
urlPatternNoURL substring to match the tab to close

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.17.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the non-obvious edge case: closing the only tab auto-creates a clean tab. It does not cover failure behavior when no tab matches the URL pattern or whether a pattern matching multiple tabs closes all of them.

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?

A single tight sentence front-loads the action and identifier modes, followed by the one edge-case caveat. No wasted wording.

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 3-optional-param tool with no annotations or output schema, the description covers purpose, defaults, and the last-tab edge case. Only error/no-match behavior is left unstated.

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 description coverage is 100%, so all three parameters are already documented in the schema; the description merely restates index, tabId, and urlPattern. Baseline 3 is appropriate since it adds no syntax or matching semantics beyond the schema.

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?

States a precise verb+resource ('Close an open browser tab') and enumerates the three identifier modes. It is clearly distinguishable from tab siblings like list_tabs, switch_tab, and new_tab, though it never names them.

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 default to the active tab is stated, which implies when each identifier form is used, but there is no explicit when-to-use/when-not guidance or routing to alternatives such as switch_tab.

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

Deploy Server

Other Tools