Skip to main content
Glama

open

Navigate a browser session to a URL without a model, starting the session when needed; enable learn mode to record later actions as reusable flow steps.

Instructions

Navigate a browser session to a URL (no model involved); starts the session if it is not running. learn and headed apply only when this call starts the session: learn=true records every later do/assert as a reusable flow step (needed before save_flow). Typical authoring: open (learn) → set_var → do/assert per outcome → save_flow → build_start.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "open"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory.
urlYesThe URL to open.
learnNoRecord a flow in this session (--learn). Only takes effect when the session starts.
headedNoShow the browser window (--headed). Only takes effect when the session starts.
sessionNoBrowser session name (default "default"). Each session is its own browser and daemon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations supply only openWorldHint, so the description carries most of the burden and does add real context: the implicit session-start side effect, the fact that learn/headed are silently ignored on later calls, and that learn must precede save_flow. It does not cover failure behavior (bad URL, unreachable host) or session reuse semantics, which leaves a gap for a tool with a conditional side effect.

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 compact sentences: purpose and lifecycle first, flag conditions second, workflow recipe last. No filler, and the parenthetical '(no model involved)' is a high-value disambiguator rather than noise.

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?

For a 5-parameter tool with no output schema and only a single annotation, the definition covers purpose, lifecycle, flag gating, and workflow ordering well. What remains unstated is what the call returns (page state? confirmation?) and how it interacts with the flow-recording session across subsequent calls, which an agent must infer.

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 100%, so baseline is 3; the description goes beyond it by explaining that learn=true records every later do/assert as a reusable flow step and is a precondition for save_flow, meaning the schema alone ('Record a flow in this session') would not convey. It also reinforces the start-only restriction on headed. cwd and session get no extra explanation here, but the schema already documents them.

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 (navigate) and resource (a browser session to a URL), and adds a scope clarifying 'no model involved' plus a lifecycle fact (starts the session if not running). This cleanly separates it from model-driven siblings like do/assert and from peek/screenshot, which observe rather than navigate.

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?

The 'Typical authoring: open (learn) → set_var → do/assert per outcome → save_flow → build_start' line explicitly places this tool first in a sibling workflow, and it states the condition under which learn/headed matter. It stops short of saying when not to call it (e.g. mid-flow navigation on an already-running session) or naming any alternative for that case.

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