Skip to main content
Glama

browser_tabs

Destructive

List, open, close, or select browser tabs and request a user handoff with a reason, so agents can manage browsing sessions without interrupting your work.

Instructions

Manage tabs; request a handoff.

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

Input Schema

NameRequiredDescriptionDefault
urlNonew: URL.
indexNoTab index (close defaults to current).
actionYes
reasonNorequest: reason shown to user.
tab_idNoclose, request: ID instead of index.
confirm_tokenNorequest: approval token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / tab_id / description
      Previous value: -"request: ID instead of index."New value: +"close, request: ID instead of index."
  2. Changed7 schema fields changedv0.7.2
    • removedInput schema / properties / action / description
      Removed value: -"Operation to perform"
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "list",
      -  "new",
      -  "close",
      -  "select"
      -]New value: +[
      +  "list",
      +  "new",
      +  "close",
      +  "select",
      +  "request"
      +]
    • addedInput schema / properties / confirm_token
      Added value: +{
      +  "description": "request: approval token.",
      +  "type": "string"
      +}
    • changedInput schema / properties / index / description
      Previous value: -"Tab index, used for close/select. If omitted for close, current tab is closed."New value: +"Tab index (close defaults to current)."
    • addedInput schema / properties / reason
      Added value: +{
      +  "description": "request: reason shown to user.",
      +  "type": "string"
      +}
    • addedInput schema / properties / tab_id
      Added value: +{
      +  "description": "request: ID instead of index.",
      +  "type": "integer"
      +}
    • changedInput schema / properties / url / description
      Previous value: -"URL to navigate to in the new tab, used for new."New value: +"new: URL."
  3. Changed15 schema fields changedv0.4.0
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / action / default
      Removed value: -"list"
    • addedInput schema / properties / action / description
      Added value: +"Operation to perform"
    • removedInput schema / properties / confirm_token
      Removed value: -{
      -  "description": "new/close; see browser_click.",
      -  "type": "string"
      -}
    • removedInput schema / properties / force
      Removed value: -{
      -  "default": false,
      -  "description": "close: disarm beforeunload.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / include_active
      Removed value: -{
      -  "default": false,
      -  "description": "list: add active_page, the active tab's browser_snapshot(text=True).",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / index
      Added value: +{
      +  "description": "Tab index, used for close/select. If omitted for close, current tab is closed.",
      +  "type": "number"
      +}
    • removedInput schema / properties / raw
      Removed value: -{
      -  "default": false,
      -  "description": "new: bypass the image viewer.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / tab_id
      Removed value: -{
      -  "description": "close/select (required).",
      -  "type": "integer"
      -}
    • removedInput schema / properties / timeout
      Removed value: -{
      -  "default": 15000,
      -  "type": "integer"
      -}
    • changedInput schema / properties / url / description
      Previous value: -"new (default about:blank)."New value: +"URL to navigate to in the new tab, used for new."
    • removedInput schema / properties / wait
      Removed value: -{
      -  "default": false,
      -  "description": "new: wait up to timeout ms for the load; returns tabId, final url and status, or on timeout ok=false, timedOut=true with the tab open.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / window_fields
      Removed value: -{
      -  "default": false,
      -  "type": "boolean"
      -}
    • addedInput schema / required
      Added value: +[
      +  "action"
      +]
  4. Changed21 schema fields changedv0.3.0
    • removedInput schema / properties / action / title
      Removed value: -"Action"
    • addedInput schema / properties / confirm_token
      Added value: +{
      +  "description": "new/close; see browser_click.",
      +  "type": "string"
      +}
    • addedInput schema / properties / force / description
      Added value: +"close: disarm beforeunload."
    • removedInput schema / properties / force / title
      Removed value: -"Force"
    • addedInput schema / properties / include_active
      Added value: +{
      +  "default": false,
      +  "description": "list: add active_page, the active tab's browser_snapshot(text=True).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / raw / description
      Added value: +"new: bypass the image viewer."
    • removedInput schema / properties / raw / title
      Removed value: -"Raw"
    • removedInput schema / properties / tab_id / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / tab_id / default
      Removed value: -null
    • addedInput schema / properties / tab_id / description
      Added value: +"close/select (required)."
    • removedInput schema / properties / tab_id / title
      Removed value: -"Tab Id"
    • addedInput schema / properties / tab_id / type
      Added value: +"integer"
    • addedInput schema / properties / timeout
      Added value: +{
      +  "default": 15000,
      +  "type": "integer"
      +}
    • removedInput schema / properties / url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / url / default
      Removed value: -null
    • addedInput schema / properties / url / description
      Added value: +"new (default about:blank)."
    • removedInput schema / properties / url / title
      Removed value: -"Url"
    • addedInput schema / properties / url / type
      Added value: +"string"
    • addedInput schema / properties / wait
      Added value: +{
      +  "default": false,
      +  "description": "new: wait up to timeout ms for the load; returns tabId, final url and status, or on timeout ok=false, timedOut=true with the tab open.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / window_fields
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • removedInput schema / title
      Removed value: -"browser_tabsArguments"
  5. Changed5 schema fields changed
    • addedInput schema / properties / action
      Added value: +{
      +  "default": "list",
      +  "enum": [
      +    "list",
      +    "new",
      +    "close",
      +    "select"
      +  ],
      +  "title": "Action",
      +  "type": "string"
      +}
    • addedInput schema / properties / force
      Added value: +{
      +  "default": false,
      +  "title": "Force",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / raw
      Added value: +{
      +  "default": false,
      +  "title": "Raw",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / tab_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Tab Id"
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Url"
      +}
  6. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered; the description adds nothing about what closing a tab destroys, how the handoff/approval flow with confirm_token behaves, or whether a request blocks. For a destructive multi-action tool with an approval handshake, this is a substantial gap beyond the annotations.

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?

Two short fragments with no filler, so nothing is wasted, but the brevity comes at the cost of substance. "request a handoff" is front-loaded yet opaque rather than informative.

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?

With six parameters, an enum of five distinct actions, a destructive close, and a request/approval handshake, the description is far too thin for the tool's complexity. No output schema exists, so the description should at minimum explain what list/new/select/request return, and it does not.

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 83%, so the input schema already explains url, index, tab_id, reason, and confirm_token. The description adds no meaning on top of that, notably silent on index-vs-tab_id precedence and on how confirm_token is obtained, but the high schema coverage sets the baseline at 3.

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

Purpose2/5

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

"Manage tabs" restates the title and the annotation title almost verbatim, giving only a generic verb over the tab resource. The only differentiating content is the cryptic "request a handoff", which is not explained, so an agent cannot tell from the description whether this tool lists, opens, closes, or selects tabs.

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 siblings such as browser_navigate or browser_snapshot, nor any hint of when a tab operation (e.g. close with index) is preferable to plain navigation. The phrase "request a handoff" implies a workflow but never says what triggers it or what the agent must do next.

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