Skip to main content
Glama

Start browser

start_browser

Launch a headed Chrome browser session with optional proxy, window size, and profile settings; required before using any other tool in this server.

Instructions

Launch the browser and start a session. Required before every other tool.

Every other tool in this server operates on the browser this starts, and fails without it. One browser at a time; call stop_browser before starting another with different options. Returns a confirmation naming the mode and any options applied.

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

Input Schema

NameRequiredDescriptionDefault
proxyNoProxy URL, with optional inline credentials. Omit for a direct connection. Example: 'http://user:pass@10.0.0.1:8080'
headlessNoAccepted and IGNORED — this server always launches headed. Headless is the first thing bot detection looks for (Cloudflare's Turnstile rejects the click outright), so true is redirected to headed and the reply says so. Example: false
low_memoryNoOpt-in Chrome flags for constrained or containerised hosts (--disable-dev-shm-usage, --disable-gpu, first-run skips). REQUIRED on root/Docker hosts with a small /dev/shm or no GPU, where the browser otherwise fails to connect. WARNING: detectable as automation (software WebGL) — leave false when stealth matters. Example: false
window_sizeNoViewport size as 'WIDTHxHEIGHT' or 'WIDTH,HEIGHT'. Omitted, Chrome uses its headless default of roughly 800x600, which is why screenshots come out small. Example: '1440x900'
user_data_dirNoAbsolute path to a Chrome profile directory, to persist cookies and logins across runs. Omit for a fresh temporary profile. Example: '/home/user/.cache/zendriver-profile'
device_scale_factorNoDevice pixel ratio, for retina-quality captures. The screenshot is window_size * device_scale_factor pixels. Example: 2

Output Schema

NameRequiredDescriptionDefault
modeYesAlways 'headed'.
optionsYesOptions applied, e.g. 'proxy=...'.
summaryYesOne line saying what happened.
headless_ignoredYesTrue when headless was requested and refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world, so the bar is lower; the description still adds real lifecycle context — single-browser constraint, the need to stop before relaunching with different options, and that a confirmation naming the mode and applied options is returned. It does not mention that headless is silently redirected, but that is disclosed in the schema.

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?

Three short sentences, front-loaded with the core action and the prerequisite constraint; no filler or restatement of the 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?

An output schema exists so return values needn't be explained, and the description covers the key operational constraint of a stateful launch tool. Minor gap: it doesn't flag that a failed launch is likely on constrained hosts without low_memory, though the schema does.

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 100% and each parameter carries its own detailed description (including the headless-ignored caveat and low_memory warning), so the description adds no parameter meaning beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ('Launch the browser and start a session') and immediately scopes it as a prerequisite for the whole server, which cleanly separates it from siblings like stop_browser and get_browser_status.

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?

Gives explicit when-to-use ('Required before every other tool') and when-not/alternative behavior ('One browser at a time; call stop_browser before starting another with different options'), naming the sibling to use instead.

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