Skip to main content
Glama

browser_session_create

Launch a new isolated browser session to run multiple independent browsers, accounts, engines, or proxies concurrently, with per-session settings like proxy, locale, and engine.

Instructions

Launch a new isolated browser session (instance + context). Use this to run multiple independent browsers, accounts, engines, or proxies concurrently.

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_session_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional human-readable description or tag for this session.
proxyNoOptional per-session proxy configuration.
localeNoOptional browser locale, e.g. 'en-US'.
browserNoBrowser engine to launch (defaults to server default, usually chromium).
channelNoOptional browser distribution channel (e.g. 'chrome', 'msedge', 'chromium').
headlessNoRun browser headlessly (defaults to server configuration).
viewportNoOptional viewport size { width, height }, or null for default window size.
sessionIdNoCustom session identifier/alias (e.g. 'admin', 'buyer', 'firefox-1'). Auto-generated if omitted.
setActiveNoSet this new session as the default active session (default: true).
userAgentNoOptional custom User-Agent string for this session.
initialUrlNoOptional URL to open immediately in the new session.
timezoneIdNoOptional IANA timezone ID, e.g. 'America/New_York'.
userDataDirNoOptional directory for a persistent browser profile (cookies, localStorage, cache saved on disk).
storageStateNoOptional path to a Playwright storageState JSON file to pre-load cookies and localStorage.
ignoreHTTPSErrorsNoWhether to ignore HTTPS certificate errors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and 'isolated' plus 'instance + context' is useful semantics about session independence. It omits key behavioral facts: that each session consumes browser process resources, that it must eventually be torn down with browser_session_close, and that userDataDir/storageState can persist state to disk. These gaps keep it at a minimum-viable level for an unannotated creation tool.

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 no waste, and the core action is front-loaded ahead of the usage scenario. Nothing is redundant or padded.

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?

For a tool with 15 optional parameters, no annotations, and no output schema, the description is thinner than ideal: it never indicates that a session identifier is returned for use with the sibling session tools, nor does it mention lifecycle/cleanup. The rich parameter documentation compensates partially, but return-value and teardown context are missing.

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% across all 15 optional parameters, including the enum for browser engine and the nested proxy object, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond what is already documented, which is the baseline 3 case.

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?

The description states a specific verb and resource: 'Launch a new isolated browser session (instance + context).' That distinguishes it from lifecycle siblings like browser_session_close or browser_session_switch, though it never names an alternative explicitly. The parenthetical clarifying 'instance + context' adds precision about what is actually created.

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?

'Use this to run multiple independent browsers, accounts, engines, or proxies concurrently' gives a genuine when-to-use scenario. However, it does not say when not to use it (e.g., if a single default session suffices) or point to browser_session_switch/close for the rest of the lifecycle, so the guidance stops at implied usage.

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