Skip to main content
Glama
Browser Controller

Browser Controller

by compnew2006

browser_tabs

List open tabs, inspect connected browser profiles, and close, focus, or set session access and isolation for tabs so AI agents can target the right browser session.

Instructions

list: tabs. profiles: connected browser IDs/names (read-only). close/focus need tabId; browser selects a profile (auto = earliest); session reads/sets policy.

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

Input Schema

NameRequiredDescriptionDefault
tabIdNo
accessNosession action: whether the agent may change pages
actionNoDefault list; profiles is read-only
browserNoauto, browserId, or unique profile label
isolationNosession action: which tabs the agent may act on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.0

TDQS

B3.2/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 some real behavior: profiles is read-only, browser auto resolves to the earliest profile, and session reads/sets policy. It omits that close destroys tab state irreversibly, what 'policy' actually governs, and what any call returns, which are significant gaps for a tool that can close tabs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

There is no filler and the action list is front-loaded, but the telegraphic, colon-and-semicolon style ('session reads/sets policy') is cryptic and forces re-parsing. Compactness here comes at the cost of readability rather than being efficient prose.

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 five-action, five-parameter tool with no annotations and no output schema, the description covers action semantics and tabId requirements but leaves out return behavior, error cases, and what session policy changes. It is minimally viable rather than complete.

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 80%, so baseline is 3, but the description adds genuine meaning beyond the schema: it states tabId is conditionally required for close/focus (the schema lists no required params) and explains that 'auto' resolves to the earliest profile. It also ties access/isolation to the session action, which the schema only hints at.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates the five actions (list, profiles, close, focus, session) and what each roughly touches, so the resource is identifiable as browser tabs. However, it never states the overall purpose in a coherent sentence and never distinguishes itself from siblings like browser_navigate or browser_snapshot; the agent must assemble the purpose from telegraphic fragments.

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 action map implicitly tells the agent which action to pick for a goal (list tabs vs. enumerate profiles vs. close/focus), and 'browser selects a profile (auto = earliest)' clarifies default selection. There is no explicit when-not guidance, no mention of when to prefer a sibling tool, and no prerequisites for close/focus beyond the tabId note.

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