Skip to main content
Glama

ghost_browser_attach

Attach to a running browser via remote debugging port to control background tabs while preserving the active tab and never closing the browser.

Instructions

Attach to a browser already running with --remote-debugging-port= (use for the user's own logged-in browser). Ghost never closes a browser it did not start, and drives background tabs without switching the user's active tab.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
portYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.23.4

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and handles it well. It discloses that Ghost never closes a browser it did not start and that it drives background tabs without switching the user's active tab, which are important side-effect guarantees for an agent.

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 two tight sentences with no wasted words. The core action is front-loaded, the use case is in a parenthetical, and the behavioral caveats are compactly appended.

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 low-complexity attach operation, the description covers the required invocation detail, the target use case, and key behavioral guarantees. It is not a 5 because the optional 'id' parameter remains undocumented and there is no mention of return behavior or failure conditions.

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?

The description clarifies that 'port' is the value from --remote-debugging-port=<port>, which directly aids invocation. However, the optional 'id' parameter is not explained at all, and schema description coverage is 0%, leaving a meaningful semantic gap.

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 states a specific action ('Attach') and a precise resource: a browser already running with --remote-debugging-port=<port>. It also names the intended use case ('the user's own logged-in browser'), which clearly distinguishes this tool from launching or closing browsers.

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 description explicitly frames when to use the tool: for an already-running remote-debugging browser and for the user's own logged-in browser. It does not explicitly name an alternative tool or list exclusions, so it falls just short of full guidance.

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

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/NORTHTEKDevs/ghost'

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