Skip to main content
Glama

Find local browsers

browser_discover

Find local Chromium and Electron browsers exposing CDP on loopback by checking ports 9222, 9223, and the configured default, or scan a custom list of local ports.

Instructions

Find Chromium and Electron browsers exposing CDP on loopback. Checks ports 9222 and 9223, plus the configured default port, unless you provide a list of local ports to check.

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

Input Schema

NameRequiredDescriptionDefault
portsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden. It does reveal the default probe set (9222, 9223, and the configured default port) and that scanning is loopback-only, which is useful, but it says nothing about whether it opens sockets/establishes connections, timeouts, cost of probing 64 ports, or what the caller gets back on success or on no-match.

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, with the target and scope front-loaded and the parameter override caveat second. Every clause carries information; nothing is padded or repeated.

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 and no annotations, so the description should cover the return shape (what a discovered browser looks like — port, ws URL, browser name?) and failure signal. It covers scope and defaults well but leaves the result contract entirely unspecified for a tool whose whole value is its returned list.

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?

Schema coverage is 0% for the single optional 'ports' parameter, so the description must compensate — and it does, explaining that supplying a list overrides the default port set. It stops short of noting the 1-65535 range and 64-item cap, but the override semantics are the key meaning an agent needs.

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 resource ('Find Chromium and Electron browsers exposing CDP on loopback') with the scope of the search. An agent can tell this is a discovery/probe tool rather than a connection or inspection tool, though it never names a sibling to contrast against.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this precedes browser_connect or browser_inspect, but the description never says so. There is no explicit when-to-use, when-not-to-use, or prerequisite (e.g. a browser must already be launched with remote debugging enabled).

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