Skip to main content
Glama

browser_select_tab

Select a browser tab by its index from the browser_tabs list to switch control to that tab for navigation, clicking, typing, or screenshots.

Instructions

Pilih tab berdasarkan index hasil browser_tabs.

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": {
      "index": "<index>"
    },
    "name": "browser_select_tab"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYesIndex tab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 behavioral burden. It does not say whether selecting a tab activates/focuses it, whether it affects subsequent browser_* commands, whether it requires the browser to be open, or what an invalid index does — all material for a state-changing browser action.

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 short sentence with no filler, and the key dependency (browser_tabs) is placed where it is read first. It is efficient, though the terseness leaves behavioral questions unanswered rather than being wasteful.

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 one-parameter tool with no output schema, the definition covers the input source adequately. It is still incomplete on the outcome of the action and error conditions, which an agent needs to sequence tab-switching reliably.

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 100% and the single parameter is documented as 'Index tab', so the baseline is 3. The description adds real value by stating the index originates from browser_tabs output, telling the agent where to obtain a valid value rather than guessing.

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?

States a specific verb and resource ('Pilih tab' / select tab) and ties it to the sibling that produces the index ('hasil browser_tabs'), which distinguishes it from browser_tabs itself. It stops short of describing the effect of selecting (activation, focus), so it is clear but not fully specified.

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 phrase 'berdasarkan index hasil browser_tabs' implies the workflow: call browser_tabs first, then select by index. There is no explicit when-not guidance, no mention of what happens with an out-of-range index, and no statement about alternatives for switching tabs.

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