Skip to main content
Glama

Manage tabs

browser_tabs

List, open, switch to or close tabs. action "new" opens a tab and types url into it; "select" and "close" take tab_id (close defaults to the tab in front). Links that open a new tab bring it to the front by themselves.

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
urlNoSite for action new; never a search or filter URL.
actionYes
tab_idNoA result's tab_id.
session_idNoOnly with several sessions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare a non-read-only, non-destructive, non-idempotent open-world tool, so the safety profile is covered. The description adds genuinely useful behavior beyond that: close defaults to the front tab, "new" types the URL rather than just loading it, and links that spawn a tab self-focus it — all non-obvious traits an agent needs.

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?

Three short sentences, front-loaded with the action list followed by per-action semantics and one cross-cutting note. No filler; every sentence carries information the schema or annotations do not.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter, non-destructive tab tool with no output schema, the description covers actions, parameter binding, and the close default well. It stops short of describing what "list" returns or how tab_id is discovered, though the schema hint about "a result's tab_id" partly compensates.

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?

Schema coverage is 75% and already documents url and tab_id. The description still adds value by binding parameters to actions (url only for "new", tab_id for "select"/"close") and by disclosing the close default, which the schema does not state. session_id is left unaddressed beyond the schema's "only with several sessions".

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 four specific verbs mapped to the resource: 'List, open, switch to or close tabs,' and these line up exactly with the action enum. Tab management is reasonably distinct from navigation siblings, but the description never names an alternative like browser_navigate, so sibling differentiation is left implicit.

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 through the per-action notes ("new" opens and types the URL; "select"/"close" take tab_id), which tells an agent how to drive each action but not when to choose this tool over browser_navigate for simply loading a page. No explicit exclusions or alternatives are given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.