Skip to main content
Glama
Real Browser MCP

Real Browser MCP

by qxZap

List or Switch Tabs

browser_tabs

List open browser tabs or switch to a specific tab by index so agents can inspect and control the active browsing context.

Instructions

List all tabs or switch to a tab by 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
indexNoTab index when action is switch
actionYesList or switch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden. 'Switch' is a state-changing operation, yet the description never says whether it focuses the tab, brings it to the foreground, or merely changes the internal active pointer, nor what happens with an out-of-range index or what the list returns. Only the trivial list case is self-evident.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the terseness leaves no room for the behavioral detail the tool actually needs.

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?

This is a low-complexity, two-parameter tool with a fully described schema and no output schema, so the description does not need to explain return values. However, with zero annotation coverage, the meaning of the 'switch' side effect and index validity remain undocumented, leaving a real gap for the mutation path.

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%, so both parameters are already documented with an enum for action and a conditional note on index. The description's phrase 'switch to a tab by index' merely restates the schema's 'Tab index when action is switch' without adding format, range, or indexing-base details.

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 sentence names two specific verbs (List, Switch) against a concrete resource (tabs), so an agent can tell exactly what the tool does. Differentiation from siblings is implicit rather than stated, but no sibling in the provided list handles tabs, so the overlap risk is low.

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?

The description maps the two actions to their intent ('List all tabs' vs 'switch to a tab by index'), which implies when each applies. It gives no exclusions, no prerequisites (e.g., that a browser session must exist), and no guidance on choosing this over browser_get_content or browser_evaluate for inspecting tabs.

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