Skip to main content
Glama

chrome_close_tab

Closes a Chrome tab on an Android device by specifying its tab ID.

Instructions

Close a Chrome tab by its id from chrome_tabs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNo
tab_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states the action; it does not mention that closing is irreversible, what happens if the tab id is invalid, whether an active Chrome session is required, or what the output means.

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 sentence with every word earning its place; the key input source is front-loaded and there is no repetition of schema fields or boilerplate.

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 and an output schema exists, so return values need no description. It is adequate for basic selection, but the unresolved device parameter and lack of behavioral caveats leave clear gaps for full invocation confidence.

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 coverage is 0%, so the description must compensate. It usefully clarifies tab_id as an id from chrome_tabs, but the device parameter is completely unexplained, and there is no format or eligibility detail for the id.

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'), a clear resource ('Chrome tab'), and explains the id comes from chrome_tabs. This is sufficient to distinguish it from sibling navigation/read/open tools even without a title.

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?

It implies the workflow: obtain a tab id from chrome_tabs, then close that tab. However, it does not explicitly state when to prefer this over alternatives or exclude cases like closing the whole Chrome window.

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