Skip to main content
Glama

browser.launch

Launch a persistent Chromium profile with automatic camera, microphone, or screen capture permissions so getUserMedia and getDisplayMedia flows run without prompts.

Instructions

Launch a new Chromium with a persistent profile. Not usually needed: any tool auto-launches a browser when none is running. Needed for camera, microphone or screen capture: pass media (e.g. {camera:true, microphone:true, fake_devices:true, screen:true}) so getUserMedia/getDisplayMedia prompts and the screen picker are answered automatically. When url is given, the result reports what actually committed (landed.url, landed.title, landed.http_status) rather than echoing the request.

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.launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOpen this URL at startup. Launch-time navigation is racy; check landed in the result, or just use page.navigate.
mediaNoCamera, microphone and screen capture without prompts, for testing getUserMedia/getDisplayMedia flows. Fixed at process start: to change it, close and relaunch. Replaces the daemon's configured media default; media:{} launches without any. The page must be a secure context (https, or http://localhost).
profileNoNamed persistent profile. Reused across runs.
stealthNoHide automation signals (navigator.webdriver, Chrome for Testing banner, empty plugins) so bot detectors like Cloudflare Turnstile treat the browser as a normal user session.
headlessNoDefault false: a visible window a human can also use.
extensionsNoAbsolute paths to unpacked extension directories.
extra_argsNo
window_sizeNo
chromium_pathNo
capture_netlogNoAlso record Chromium NetLog (DNS, sockets, TLS).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint=false and openWorldHint=true, it discloses traits the annotations cannot: media config is fixed at process start and requires close+relaunch to change, media:{} overrides the daemon default with nothing, and the page must be a secure context (https or localhost). It also explains that the returned 'landed' data reflects what actually committed rather than the request, which is exactly the kind of surprise an agent needs warned about.

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?

Three sentences, zero filler, with the 'not usually needed' caveat front-loaded ahead of the actual use case. The media example object and the parenthetical parameter list make the middle sentence dense, but every clause carries information an agent would otherwise have to discover empirically.

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

Completeness5/5

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

For a 10-parameter launcher with no output schema, the description covers the non-obvious surfaces an agent could get wrong: startup navigation raciness, media fixity, secure-context requirement, and default-override semantics. The untouched params are either self-describing or documented in the schema, so nothing load-bearing is missing.

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 70% and the media sub-schema is already well documented, so the description's marginal contribution is the cross-parameter semantics: media replaces the daemon's configured default, and url's result should be read from landed.url/title/http_status rather than trusted as requested. The remaining params (extra_args, window_size, chromium_path) get no narrative treatment, but they are self-evident from their names.

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 a specific verb and resource ('Launch a new Chromium with a persistent profile') and immediately scopes it against the default behavior of every other browser tool ('any tool auto-launches a browser when none is running'). An agent can tell from the text alone that this is the opt-in launcher for media-capture scenarios, not a general navigation tool.

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 gives an explicit when-NOT-to-use rule ('Not usually needed'), the precise condition that selects this tool ('Needed for camera, microphone or screen capture'), and an in-tool alternative ('or just use page.navigate') for the racy url-at-startup case. Both the default path and the exception path are covered.

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

Deploy Server

Other Tools