Skip to main content
Glama

Release adopted tab

browser_release_tab
Idempotent

Hand off a browser tab to the user so it stays open as their tab and is excluded from cleanup. Use when the user will keep working in a form, draft, or page; the agent can take it over again later.

Instructions

Hand one of the agent's tabs to the user. A tab taken over with browser_use_tab goes back as it was: the agent stops driving it and the page is left exactly as it is; call this as soon as you are done with it. A tab the agent opened is handed off: it leaves the agent's tab group and stays open where it is, as the user's tab, so no cleanup closes it — not browser_close_all_tabs, and not the cleanup that runs when this MCP server exits. Hand off a tab the user will keep working in (a form the agent filled in, a draft, a page they asked to see); the agent can take it over again later with browser_use_tab.

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": {
      "tab_id": "<tab_id>"
    },
    "name": "browser_release_tab"
  }
}

Input Schema

NameRequiredDescriptionDefault
tab_idYestab_id of a tab previously adopted with browser_use_tab
session_idNoStable task or thread ID. Pass the same value on every browser call for this task. Different IDs isolate tabs and cleanup within one MCP process. Omit for the default process session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.3
    • addedInput schema / properties / session_id
      Added value: +{
      +  "description": "Stable task or thread ID. Pass the same value on every browser call for this task. Different IDs isolate tabs and cleanup within one MCP process. Omit for the default process session.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.3.1
    • addedInput schema / properties / tab_id / description
      Added value: +"tab_id of a tab previously adopted with browser_use_tab"
  3. First observedv0.3.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the crucial behavioral distinction between adopted and opened tabs: an adopted tab is left as-is and stops being driven, while an opened tab leaves the agent's tab group and becomes the user's tab. It also states that the handed-off tab survives browser_close_all_tabs and server-exit cleanup, which is exactly the kind of non-obvious behavior an agent needs to know.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in one short sentence, followed by the two behavioral cases and a concise hand-off recommendation. Dense but every sentence carries distinct information, with no redundancy.

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

Completeness5/5

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

For a two-parameter tool with no output schema, the description covers the full behavioral surface: what happens in each tab mode, cleanup exemptions, and when to use it versus cleanup. The remaining session_id semantics are adequately covered by the schema.

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 tab_id and session_id are already fully documented in the schema. The description reinforces that tab_id refers to a tab previously adopted or opened, but does not add syntax or semantics beyond what the schema supplies, and it does not mention session_id. The baseline 3 is appropriate.

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

Purpose5/5

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

The description opens with a specific verb and resource ('Hand one of the agent's tabs to the user') and immediately distinguishes the two modes: returning an adopted tab versus handing off an opened tab. It also names the sibling browser_use_tab as the way to take a tab over again, so the agent can place this tool relative to its alternatives without opening either schema.

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

Usage Guidelines5/5

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

It states explicitly when to call ('as soon as you are done with it') and when to hand off rather than clean up ('a form the agent filled in, a draft, a page they asked to see'). It also identifies the inverse operation via browser_use_tab, giving a clear use/undo model.

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