Skip to main content
Glama

connect_browser

Attach a captcha solver to the first tab of an already running Chrome instance via remote debugging, enabling captcha solving in a browser controlled by another tool.

Instructions

Connect to an already running Chrome started with --remote-debugging-port and attach the solver to its first tab. Use this to solve captchas in a browser controlled by another tool.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "connect_browser"
  }
}

Input Schema

NameRequiredDescriptionDefault
cdp_urlNohttp://127.0.0.1:9222

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.5

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden; it does usefully reveal that it attaches to the *first* tab only (implying switch_tab is needed for others) and that the target must already be running with remote debugging enabled. It does not disclose failure behavior when the endpoint is unreachable, whether a session is exclusive, or whether it changes any browser state.

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?

Two sentences, zero waste: the precondition is front-loaded in the first sentence and the usage case follows. Nothing is repeated from the schema or title.

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?

The tool is simple (one optional param, one output schema) and the description covers the essential setup requirement and attachment behavior, so an agent could call it correctly. The remaining gap is failure handling when no debuggable Chrome exists, which is minor given the output schema handles returns.

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 0% for the single cdp_url parameter, so the description must compensate; it partly does by tying the URL to a Chrome instance launched with --remote-debugging-port, which explains what the parameter points at. It still never mentions the parameter name, accepted URL format, or what the default 127.0.0.1:9222 target implies.

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 verb and resource ('Connect to an already running Chrome ... and attach the solver to its first tab') and names the exact precondition (Chrome started with --remote-debugging-port). This clearly distinguishes it from open_browser/close_browser, which create or tear down browsers rather than attaching to an existing one.

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?

'Use this to solve captchas in a browser controlled by another tool' gives a clear selection condition that implicitly contrasts with launching your own browser. It does not, however, name the alternative tool (open_browser) or state what to do if no debuggable Chrome is running, so the routing guidance stops short of explicit when-not/alternatives.

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