Skip to main content
Glama

page.activate_tab

Bring a browser tab to the front so it becomes the visible, focused page, just as clicking its tab strip entry would. Use it to switch between open pages during automation.

Instructions

Bring a tab to the front, as clicking its tab strip entry would.

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": "page.activate_tab"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations mark readOnlyHint=false and openWorldHint=true, so the agent already knows this is a mutating, out-of-process action. The description adds only a UI metaphor and omits the key consequence: activation likely changes which page the (tgt_*) default target resolves to for subsequent calls, plus any browser/OS focus side effects. No return or state info is given.

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 efficient sentence with the action front-loaded. The simile is short and clarifying rather than filler, though it consumes the whole description.

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 simple zero-required-parameter tool with no output schema and full schema coverage, the essentials are present. However, the undefined interaction between "omit target_id for the active page" and the act of activating a tab leaves a real ambiguity for the caller.

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%, so both optional parameters (target_id, browser_id) are already documented in the schema. The description adds no extra meaning, such as what happens when target_id is omitted given that activation itself changes the active page. Baseline 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?

"Bring a tab to the front" names a specific verb and resource, and the tab-strip analogy makes the effect unambiguous. It does not explicitly contrast with siblings like page.list_tabs or page.new_tab, but the action is distinct enough to be selected correctly.

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 activate a tab versus when to operate on it directly, nor any prerequisite such as locating a target_id via page.list_tabs. Usage is only implied by the verb itself.

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

Deploy Server

Other Tools