Skip to main content
Glama

tabs_activate

Activates a specified browser tab and brings its window into focus, letting you switch control to the right tab before navigating, clicking, or typing.

Instructions

Activate a tab and focus its window.

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": {
      "tabId": "<tabId>"
    },
    "name": "tabs_activate"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdYesOptional browser tab id to act on instead of the focused tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

C2.9/5.0
Behavior2/5

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

With annotations absent, the description carries the full burden and discloses very little: it does not say whether activation is idempotent, what happens if the tab no longer exists, whether window focus steals OS-level focus, or what is returned on success. Only the single behavioral trait of focusing the window is disclosed.

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?

One sentence, front-loaded with the action and resource, with the side effect appended and no filler. It is appropriately sized, though the brevity borders on under-specification given the absent annotations.

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 single-parameter, no-output-schema tool this is close to adequate, but a state-mutating action with zero annotations and no return-value hints leaves an agent guessing about failure modes and side effects. It is minimally sufficient rather than complete.

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 description coverage is 100% for the single tabId parameter, so the baseline is 3 and the description adds no further meaning on top of it. Note that the schema itself is internally inconsistent (tabId is listed as required while its own description calls it optional), and the tool description does nothing to resolve which reading 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 pairs a specific verb ("Activate") with a specific resource ("a tab") and adds the side effect "focus its window." That is enough for an agent to know what the call does, though it never contrasts with siblings like tabs_current or tabs_list, so the boundary is left to inference.

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 statement of when to use this versus tabs_current (read the active tab), tabs_list (enumerate tabs), or tabs_open, and no prerequisites or exclusions are given. Usage context is only weakly implied by the verb 'activate'.

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