Skip to main content
Glama

browser

Clicks, types, and runs steps on real web pages, returning action results and page state; keeps cookies across session calls for login and checkout flows.

Instructions

Click, type and run steps in a real browser; returns each action's result and the resulting page. One shot: url + actions. Several calls with cookies and page state kept (log in then browse, cart then checkout): open (alone, or with the first url/actions) returns a session_id; pass it with url and/or actions, end with close. Take refs from web_view.

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

Input Schema

NameRequiredDescriptionDefault
urlNoOpen or navigate first; omit in a session to stay on the page
openNoStart a session
tierNoOne shot: browser | stealth | real (default) | warm
closeNoEnd session_id and release its browser
proxyNoProxy URL (one shot, open)
queryNosession: keep only blocks relevant to these words
actionsNoSteps in order, e.g. [{"do":"type","ref":"e3","text":"shoes"},{"do":"press","key":"Enter"},{"do":"wait","selector":".results"}]
profileNoCookies of a saved login profile (one shot, open)
timeoutNoms, default 90000
visibleNoopen: show the window
extractionNomarkdown (default) | text | html
session_idNoFrom open

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true; the description adds the important behavioral fact that cookies and page state persist across calls and that `close` releases the browser, plus that each step's result is returned. It does not disclose failure semantics (whether a failed action aborts the run) or any cost/latency implications of launching a real browser.

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?

Extremely compact for a 12-parameter tool and front-loaded with the core action, then the two modes. The terse backtick notation is efficient but borders on cryptic in places, which keeps it from a 5.

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 complex, open-world browser automation tool with no output schema, the session lifecycle is covered well and the return shape is described at a high level. However, it leaves real gaps: what the `tier` options mean, how action failures are surfaced, and what the page representation looks like beyond the schema's extraction format.

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 coverage is 100%, so the baseline is 3. The description does add orchestration meaning the schema cannot: which parameter combinations define one-shot vs session mode, that `open` yields the `session_id` used later, and that refs must come from web_view. That is genuine value, but the opaque `tier` values (stealth/real/warm) are never explained in either place.

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 set (click, type, run steps) against a concrete resource (a real browser) and names what comes back: each action's result plus the resulting page. It also distinguishes itself from the sibling web_view by directing ref acquisition there, so an agent can tell these apart without opening schemas.

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?

Gives explicit mode selection rules with concrete scenarios: single call for one-shot `url` + `actions`, session mode for flows that need retained cookies/state (log in then browse, cart then checkout), ending with `close`. It lacks an explicit exclusion such as 'use web_fetch for static pages', so usage is strong but not fully comparative.

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