Skip to main content
Glama

browser_tabs

List, open, close, or switch browser tabs by index, and optionally navigate new tabs to a URL to control browser sessions.

Instructions

Manage browser tabs.

Actions:

  • list: show all open tabs

  • new: open a new tab (optionally navigate to url)

  • close: close tab at index (default: active tab)

  • select: switch to tab at index

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "browser_tabs"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
indexNo
actionYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the actions and the active-tab default for close, but says nothing about whether closing a tab discards unsaved state, whether index is 0- or 1-based, or what happens on an out-of-range index.

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?

One lead sentence followed by a compact action list; every line carries information and the structure makes the enum values scannable. No filler or redundant restatement.

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 action set is fully covered and an output schema exists, so return values need no explanation. For a mutation-capable tool with zero annotations, however, missing details on destructive effects of close and index conventions leave the agent guessing in ways that affect correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description does real work: it maps url to 'new' and index to 'close'/'select', and adds the active-tab default for close that the schema itself does not express. The critical ambiguity of index base (0 vs 1) and whether index applies to list remains unresolved.

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 concrete resource (browser tabs) and enumerates the four supported verbs (list/new/close/select), so an agent knows exactly what operations exist. It does not differentiate itself from the sibling browser_close, which plausibly overlaps with the tab-closing action.

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?

Usage is implied per action (close uses an index, new can take a url), and the 'default: active tab' note helps selection. There is no explicit when-to-use vs. browser_close or browser_navigate, and no statement of prerequisites or when not to use it.

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