Skip to main content
Glama

browser_tab

Opens a new browser tab at a given URL or switches focus to an existing tab by index, letting AI agents navigate between pages during a browsing session.

Instructions

新建或切换标签页

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_tab"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoaction=new 时的网址
indexNoaction=switch 时的标签页序号
actionYesnew=新建并打开 url;switch=切换到 index 指定页

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.8/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 the full burden of disclosure, and it adds almost nothing beyond the tool name. It does not say whether 'new' takes focus, whether opening a tab navigates immediately or leaves it blank, whether 'switch' changes the active context for later tool calls, or what happens on an invalid index.

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?

It is a single short phrase with no wasted words and the two modes are front-loaded, but the brevity reflects under-specification rather than disciplined editing. It earns its place only in that it does not pad.

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

Completeness2/5

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

For a browser-control tool with no annotations and no output schema, the description should explain side effects, focus behavior, and what is returned, and none of that is present. The documented schema mitigates some of this, but the agent still lacks the behavioral context it needs to call the tool confidently.

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?

The schema description coverage is 100%, and each parameter (url, index, action) already has its own inline description and an enum, so the input schema does the heavy lifting. The description adds no meaning beyond that; a baseline of 3 is appropriate when the schema is this rich.

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 explanation, "新建或切换标签页", gives a specific verb pair (create/switch) tied to a specific resource (tab), and the enum in the schema makes the two modes concrete. It does not distinguish this tool from siblings such as browser_list_tabs or browser_navigate, but the core purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus browser_list_tabs, browser_navigate, or browser_close, and no prerequisites are stated, such as needing an existing browser session or whether index is zero-based. An agent must infer the choice from the schema enum alone.

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