Skip to main content
Glama

browser_tabs

List, create, close, or select tabs in a browser session to manage multiple pages, switch contexts, and open URLs as needed.

Instructions

List, create, close, or select tabs within a browser session.

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
urlNoOptional URL to open immediately when action is 'new'.
indexNoTab index for 'close' or 'select'. If omitted on 'close', closes the current tab.
actionYesOperation to perform on tabs within the target session.
sessionIdNoOptional target browser session ID. If omitted, uses the currently active session (or auto-launches one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden, and it discloses almost nothing about behavior: that 'close' is destructive, whether closing the current tab loses state, that 'select' changes the active target for all subsequent tool calls, or that a session may be auto-launched. These consequences are the most important thing an agent needs before mutating browser state.

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; the verb list mirrors the enum order and reads immediately. It is efficient but arguably too terse for a multi-mode tool.

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?

With 4 fully documented parameters and no output schema, the structured data covers the mechanics. What is missing is multi-mode semantics: how state changes from 'close' or 'select' affect later calls, and what each action returns. Adequate but with clear gaps for a tool with four distinct modes.

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 100%, and the schema already documents url for 'new', index for 'close'/'select', sessionId fallback behavior, and the action enum. The description adds no syntax, defaults, or interaction detail beyond that, so the baseline of 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 gives four specific verbs (list, create, close, select) against a concrete resource (tabs within a browser session), which maps cleanly onto the action enum. It implicitly separates tab-level work from siblings like browser_session_create/browser_session_switch, though it never names those alternatives explicitly.

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 only implied by the verb list; there is no statement of when to reach for this tool versus browser_navigate or the session-scoped siblings, and no exclusions or prerequisites. An agent can infer intent from the action enum but gets no routing guidance.

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