Skip to main content
Glama

Start a browser session

create_session

Hold a real Chromium for as long as you asked for and answer with a CDP URL your own tools connect to: chromium.connectOverCDP(connectUrl) in Playwright, puppeteer.connect({ browserWSEndpoint: connectUrl }) in Puppeteer. The browser is yours alone for the whole window, every byte it pulls leaves through the exit you picked, and the socket survives our deploys. The URL carries the session's token and is shown once. It cannot be rebuilt from the id.

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

Input Schema

NameRequiredDescriptionDefault
proxyNoWhere the session leaves from, fixed for its whole life. Defaults to the managed residential pool.
timeoutMinNoHow long to hold the browser, in minutes. Credits for the whole window are reserved when the session starts and the unused minutes are handed back when it closes, so asking for longer than you need costs nothing extra. Defaults to 10; your plan sets the ceiling.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations are already clear that this is not read-only, not idempotent, and open-world, and the description adds genuinely useful behavior on top: the browser is exclusively yours, all bytes egress through the chosen proxy exit, the socket survives provider deploys, and the token-bearing URL is shown once and cannot be reconstructed from the id. The last point is a significant operational caveat that no annotation carries. The description leaves out billing and cleanup behavior, but the core behavioral traits are disclosed.

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 first clause front-loads the core promise (a real Chromium for the requested window) and the return value, then the protocol snippets, then the exclusivity, egress, and durability guarantees, then the one-time token warning. Every sentence carries information. It is dense—multiple guarantees packed into the opening sentence—which slightly hurts scannability, but there is no filler.

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?

With no output schema, the description correctly takes on the job of explaining the return value: a CDP connect URL carrying a session token, shown once and unrecoverable. For a two-parameter tool with full nested schema coverage, that covers what an agent needs to invoke it. It could be more complete by naming the close/quote siblings that an agent will need next, but nothing essential to the call is 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%, down to nested proxy fields with their own enum and error guidance, so the schema does the heavy lifting. The description adds one useful framing detail—the exit location is 'fixed for its whole life,' which is in the schema but gets reinforced—and nothing on ``timeoutMin`` beyond what the schema already explains about reservation and refunds. Baseline 3 is correct.

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 precise verb and resource: it holds a real Chromium and returns a CDP URL that ``chromium.connectOverCDP`` or ``puppeteer.connect`` can attach to. That is far more specific than the name alone. It does not, however, contrast itself with siblings such as ``scrape`` or ``create_batch``, so an agent must infer that this is the tool for driving its own automation.

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?

The usage context is implied rather than stated: 'answer with a CDP URL your own tools connect to' signals that this is for bring-your-own-browser automation, and 'as long as you asked for' points at the timeout window. There is no explicit when-to-use versus ``create_batch``/``scrape``, no when-not guidance, and no mention of ``close_session`` or ``quote_session`` as follow-on steps.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources