Skip to main content
Glama
Antigravity in Chrome MCP Server

Antigravity in Chrome MCP Server

by sxqib

tabs_close_mcp

Close one or more Chrome tabs by tab ID or tab IDs, or close every tab in the managed Antigravity tab group to clear browser clutter.

Instructions

Close one or more Chrome tabs by tabId / tabIds, or close all tabs in the managed Antigravity tab group.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tabs_close_mcp"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNoSingle tab ID to close.
tabIdsNoMultiple tab IDs to close at once.
closeManagedGroupNoIf true, closes every tab in the managed Antigravity tab group.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says the tool closes tabs, which implies a destructive mutation, but it does not disclose irreversibility, effects on unsaved page state, whether the active tab can be closed, or what happens when none of the parameters is supplied.

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 efficient sentence that front-loads the action and enumerates the three supported closing modes. No wording is redundant.

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?

For a simple three-parameter mutation tool with no output schema and no annotations, the description covers the basic operating modes. It remains incomplete on destructive effects, parameter precedence, and whether closing all managed-group tabs requires confirmation.

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 each parameter is already documented in the schema. The description restates the three modes but adds no syntax, precedence rules, or behavior for combining tabId, tabIds, and closeManagedGroup.

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 states a specific verb and resource: 'Close one or more Chrome tabs by tabId / tabIds' and 'close all tabs in the managed Antigravity tab group.' That clearly distinguishes closing from sibling actions such as switch_tab or tabs_create_mcp, though it does not explicitly name siblings.

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 by listing three modes: single tab, multiple tabs, or all managed-group tabs. It does not state when to choose this over alternatives like switch_tab or tabs_context_mcp, nor does it mention exclusions such as whether arbitrary unmanaged tabs can be closed.

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