Skip to main content
Glama

google_browser

Connect to, launch, check, or close the dedicated Chromium/Edge browser instance for Google MCP via CDP, so you can drive browser automation and Google sign-in reliably.

Instructions

连接/启动/关闭 Google MCP 专用的 Chromium/Edge 浏览器(CDP 调试,默认独立端口 9333,与 edge-mcp 的 9222 不是同一个实例)。第一次用先 op=connect(复用已开着的浏览器),连不上再 op=launch(本服务拉独立 profile)。op=status 看状态,op=login 打开 Google 登录页(先 google_auth 拿授权)。

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

Input Schema

NameRequiredDescriptionDefault
opNo默认 status
exeNomsedge.exe/chrome.exe 路径,默认自动探测
hostNo默认 127.0.0.1
killNoquit 时是否杀掉本服务拉起的进程,默认 true
portNoDevTools 端口,默认 9333(GOOGLE_BROWSER_PORT)
headlessNolaunch 时无头,默认 false
start_urlNolaunch 的初始页面
extra_argsNo
user_data_dirNolaunch 的 profile 目录
profile_directoryNoprofile 名,如 Default

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses that connect reuses an existing browser, that launch spawns an independent profile, that port 9333 is isolated from the 9222 instance, and that quit may kill service-spawned processes by default. It does not cover failure modes such as an occupied port or what op=status actually reports, leaving a modest gap.

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?

The text is front-loaded with the identity and port disambiguation, then the op selection order, with no filler sentences. The heavy use of nested parentheses makes it slightly dense to parse, but every clause carries operational information.

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 10-parameter lifecycle tool with no output schema, the description covers the decision-relevant parameters (op, port, kill defaults) and the cross-tool prerequisite (google_auth before login). What op=status returns and the connect failure signal remain unspecified, which is the main residual gap.

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 already 90%, so most parameters are self-documenting; the description nonetheless adds real meaning by explaining the operational role of each op value (connect vs launch vs status vs login) and the sequencing between them, which the enum alone does not convey. It says nothing extra about the lower-level params like extra_args or profile_directory, hence not a 5.

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 names specific verbs (connect/launch/quit/status/login) and the exact resource (a Chromium/Edge instance dedicated to Google MCP on port 9333), and it explicitly distinguishes itself from the edge-mcp instance on 9222. An agent can tell what this tool manages without opening the schema.

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

Usage Guidelines5/5

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

It prescribes an explicit order of operations: try op=connect first to reuse an already-running browser, fall back to op=launch if that fails, use op=status to inspect state, and call google_auth before op=login. That is a clear when-to-use/which-op decision tree rather than an implied one.

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