Skip to main content
Glama

connect

Start or restart a browser session for other tools. Launches a local Chrome or attaches to an existing one, optionally navigating to a URL.

Instructions

ALWAYS the first call: start (or restart) the browser session — launch a local Chrome by default, or attach to the user's real, logged-in browser via browserUrl (e.g. http://127.0.0.1:9222, for pages behind auth like wp-admin or a dashboard). Pass url to load a page immediately. Every other tool needs a live session; if a tool reports no session or a wedged browser, call connect again to reset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoNavigate here right after connecting
modeNoDefault 'launch'; 'attach' joins a running Chrome
widthNoViewport width, default 1280
heightNoViewport height, default 800
headlessNoLaunch mode only; default false (visible window)
browserUrlNoDevTools HTTP endpoint for attach mode, e.g. http://127.0.0.1:9222
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses that connect starts/restarts a session, can launch Chrome or attach to an existing browser, and that every other tool depends on a live session. It also mentions the reset behavior (call again if wedged). This is adequate for a setup tool, though it could explicitly state that it closes any previous session.

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 description is concise (two sentences) and front-loads the key message ('ALWAYS the first call'). However, the first sentence is dense and could be broken into shorter sentences or bullet points for easier scanning. Overall, it is efficient and avoids unnecessary words.

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?

Given the tool's role as a session initiator with 6 parameters and sibling tools that depend on it, the description covers essential aspects: when to call, modes, parameter usage, and recovery behavior. It does not describe return values (no output schema) or error cases in detail, but that is acceptable for a connection setup tool.

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 input schema has 100% coverage for all 6 parameters. The description adds value beyond the schema by explaining the purpose of each parameter in context: url loads immediately, mode defaults to 'launch', width/height set viewport, headless only in launch mode, and browserUrl for attach mode with an example. This provides useful guidance.

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 clearly states the tool's purpose: 'start (or restart) the browser session'. It specifies it is always the first call and distinguishes between launching a local Chrome or attaching to an existing browser via browserUrl. This differentiates it from sibling tools that require an active session.

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 says 'ALWAYS the first call' and instructs when to call it again ('if a tool reports no session or a wedged browser'). It also explains the two modes (launch vs attach) with examples. However, it does not explicitly state when not to use it, though the context implies that if a session is active, it should not be called.

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

Install Server

Other Tools

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/mi60dev/visionaire-engine'

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