Skip to main content
Glama

browser_detach

Releases a tab's debug session to end debugging and free the tab for normal use.

Instructions

Releases the debug session of a 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": {
      "tabId": "<tabId>"
    },
    "name": "browser_detach"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.4

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It implies a state change (release/detach) but says nothing about whether it is idempotent, what error occurs if no session is attached, whether the tab or its contents are affected, or whether a follow-up reattach is possible.

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?

One short, front-loaded sentence with no filler; nothing in it is redundant. Its brevity is the only structural virtue here, but on this dimension it is clean.

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?

For a state-changing browser lifecycle tool with no annotations and no output schema, the definition omits preconditions, side effects, return behavior, and all parameter meaning. An agent cannot reliably invoke it without outside knowledge.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Single required parameter tabId has 0% schema description coverage, and the description does not explain it at all — not its origin (from browser_tabs/browser_open?), its format, or its valid range. With a fully undocumented parameter the description should compensate, and it does not.

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?

States a specific verb and object ("Releases the debug session of a tab"), which is enough for an agent to distinguish it from browser_close (closes a tab) or browser_activate (focuses one). The only ambiguity is what a "debug session" is and whether it detaches a debugger or ends a recording, which is not clarified.

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?

No guidance on when to call this versus siblings, no prerequisites (must a session be attached first?), and no mention of what state the tab is left in. The agent must infer that this is a teardown step in a browse/debug workflow.

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