Skip to main content
Glama

tabs

List, open, switch to, or close browser tabs. Set your target tab without bringing it to the front and avoid tabs owned by parallel agents.

Instructions

List, open, switch to (focus) or close tabs. use = make a tab your target without bringing it to the front. The * tab is yours; tabs marked "other agent" belong to parallel agents, leave them alone.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNoTab id. Default: your own target tab (each agent session gets its own)
urlNo
actionNo
browserNochrome, edge, ... (only when several browsers are connected)
backgroundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose valuable multi-agent behavior: each session owns a '*' target tab and 'other agent' tabs must be left alone. It says nothing about whether close is destructive or reversible, what list returns, or how the background parameter behaves. Useful but incomplete behavioral disclosure for a tool with zero annotation coverage.

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?

Three tight sentences, front-loaded with the capability list followed by the two behavioral caveats that matter most. The telegraphic style is dense but readable; the only friction is the 'open'/'new' wording mismatch.

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 5-parameter tool with no annotations and no output schema, the description covers the multi-agent safety model well but leaves return values, destruction semantics of 'close', and half the parameters to inference. Adequate, not complete.

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 only 40%, so the description must compensate, and it partially does by explaining the difference between 'use' and 'switch' and clarifying the default value of 'tab'. However 'url', 'background', and the exact 'action' values (the description says 'open' where the enum says 'new') are left unexplained. It adds meaning but leaves real gaps.

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 opens with specific verbs and a concrete resource: 'List, open, switch to (focus) or close tabs.' An agent knows immediately this manages browser tabs rather than page content (navigate, click, snapshot). It does not explicitly name a sibling to contrast with, which keeps it from a 5.

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

Usage Guidelines4/5

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

It draws the key in-tool distinction between 'switch' (bring to front) and 'use' (set target without focusing), which is exactly the choice an agent must make. It also states a usage constraint about not touching other agents' tabs. No guidance on when to prefer this over navigate/choose, so not a 5.

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