Skip to main content
Glama

browser_tab_handoff

Leaves a tab open for the user to sign in, solve a captcha, approve, or review a result; shows a note and blinks until they interact, then allows the AI to take it back later.

Instructions

Leave a tab to the user when they must act (sign in, solve a captcha, approve, look at a result). The tab stays open after you finish, leaves the AI group, shows your note and blinks in the tab strip until the user clicks or types in it. Without a tabId, your current tab. browser_tab_select takes it back later.

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": {
      "note": "<note>"
    },
    "name": "browser_tab_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesWhat the user should do, short (e.g. "sign-in needed")
tabIdNoTab id from browser_tab_list (default: your current tab)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.2

TDQS

A4/5.0
Behavior3/5

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

With readOnlyHint=false, destructiveHint=false and openWorldHint=true already supplied, the description still adds real behavioral context: the tab stays open after finishing, leaves the AI group, displays the note, and blinks until the user interacts. It stops short of disclosing lifecycle edge cases such as what happens to the tab if the user never acts or whether it is eventually cleaned up.

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?

Three short sentences, each earning its place: the trigger condition first, the observable runtime behavior second, the default and follow-up last. The parenthetical examples and the final sibling pointer are dense with information and free of padding.

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

Completeness4/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 trigger, the visible side effects, the default tab, and the way to reclaim the tab. The remaining gap is what the tool returns or how failure is signaled, which is a minor omission given the otherwise thorough coverage.

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%, so both parameters, including the maxLength:120 constraint on note and the negative-safe integer range on tabId, are already documented. The description only restates the tabId default ("Without a tabId, your current tab") and gestures at note's role via "shows your note," adding little beyond the schema baseline.

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 opening sentence pairs a specific verb and resource ("Leave a tab to the user") with the precise triggering condition and four concrete examples (sign in, captcha, approve, look at a result). It also distinguishes itself from the sibling that undoes it, naming browser_tab_select as the way to take the tab back.

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

Usage Guidelines4/5

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

The when-to-use condition is explicit and concrete ("when they must act") and the capture-back path via browser_tab_select is named. What is missing is an explicit exclusion or contrast case, such as when to prefer browser_tab_close or browser_tab_release instead, so it falls short of full when/when-not guidance.

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