Skip to main content
Glama
escapeWu

chrome-agent-bridge

by escapeWu

Detach Raw CDP

browser_cdp_detach

Detach an active CDP session from its tab and clear child-target routing state for clean session management.

Instructions

Detach an unrestricted CDP session from its tab and release child-target routing state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing side effects and safety profile. It does mention 'release child-target routing state', which is useful internal behavior, but it does not explain the impact on the tab (e.g., whether it stays open), what happens to the session, or whether the operation is reversible. This leaves significant ambiguity.

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 description is a single concise sentence with no redundant words or filler. It front-loads the main action ('Detach') and clearly states the primary resource and additional state. This is an efficient and well-structured description.

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 mutating cleanup operation with no annotations and no output schema, the description is too brief. It does not mention the return value (e.g., success/failure), side effects on the tab, or any prerequisites (e.g., session must exist). Given its role as a counterpoint to browser_cdp_attach, more detail is needed to use it safely and correctly.

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?

The input schema has one required parameter (sessionId) with string constraints, but the description does not reference this parameter at all. Schema description coverage is 0%, and the description does not compensate by explaining how to obtain or use the sessionId. The parameter name is self-explanatory, but the description adds no value beyond the schema.

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 uses a specific verb ('Detach') and clearly identifies the resource ('CDP session') and the scope ('from its tab and release child-target routing state'). This distinguishes it from the sibling tools like browser_cdp_attach, browser_cdp_send, and browser_cdp_events, making its function immediately clear.

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?

The description states what the tool does but provides no guidance on when to use it, what prerequisites must be met, or what alternatives exist. It does not mention that this should be used after finishing a CDP session or in conjunction with browser_cdp_attach. The context is implied but not explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/escapeWu/chrome-agent-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server