Skip to main content
Glama

get_cdp_endpoint

Read-only

Return the raw CDP endpoint so external clients like Playwright, Puppeteer, or Crawl4AI can attach to the same stealth browser via connect_over_cdp and keep its fingerprint persona.

Instructions

Return the stealth browser's raw CDP endpoint so ANY other client (Playwright / Puppeteer / browser-use / Crawl4AI / Stagehand) can attach to the SAME browser with connect_over_cdp, keeping the stealth persona. This is the whole point of the drop-in model.

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": "get_cdp_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuinely new behavioral facts — that the returned endpoint attaches to the same live browser instance and preserves the stealth persona. It stops short of saying whether the endpoint is local-only, whether any auth token is embedded, or how long it stays valid.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and client list are front-loaded and the core mechanics are covered in one sentence. The trailing line 'This is the whole point of the drop-in model' is promotional restatement rather than operational information, which is the only waste.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of describing the return value — yet it only says 'raw CDP endpoint' without specifying format (ws:// vs http:// URL, string vs object, whether a DevTools URL is included). For a zero-parameter tool this is nearly complete, but the missing return-shape detail is the one gap an agent would hit.

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

Parameters4/5

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

The schema takes zero parameters, so there is no parameter meaning to convey; baseline for 0 params applies. The description correctly implies a no-argument call.

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?

Names a specific resource ('stealth browser's raw CDP endpoint') and a precise purpose (letting an external client attach to the same browser via connect_over_cdp). The verb 'Return' plus the resource makes the operation unambiguous. It does not explicitly contrast with siblings like get_egress_info or get_page_html, but the resource itself is distinct enough to differentiate.

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?

Gives a clear triggering condition: use this when another client (Playwright / Puppeteer / browser-use / Crawl4AI / Stagehand) needs to attach to the SAME browser while keeping the stealth persona. It does not state when NOT to use it or point to a named alternative tool, but the use case is concrete enough for an agent to self-select.

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