Skip to main content
Glama
497187419

TraeBridge MCP Server

by 497187419

Close tab

browser_close_tab

Closes a specified browser tab using its tab ID, removing unwanted open pages and keeping browser sessions organized during automation.

Instructions

Close the given browser tab.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYesThe id of the tab to close (from browser_list_tabs)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does not state that this is an irreversible mutation, what happens to the active tab or session afterwards, or what errors occur for an invalid/already-closed tab id.

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 clean sentence with the action and target front-loaded and zero filler. Nothing could be trimmed without losing meaning.

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 one-parameter tool with a fully documented schema and no output schema, the essentials are covered. The gap is that, as an unannotated mutation, the description never says the close is irreversible or how failures surface.

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% and the schema itself documents tabId including its source (browser_list_tabs), so the description adds no parameter meaning beyond structured data. Baseline 3 applies.

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 (Close) and resource (the given browser tab), so purpose is unambiguous. It does not, however, differentiate itself from siblings like browser_switch_tab or browser_list_tabs, which share the same tab domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, nor prerequisites such as whether the tab must be the active tab or whether the id must come from browser_list_tabs. Usage is only implied by the name.

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