Skip to main content
Glama

open_session

Open a persistent browser session for multi-step web interactions, returning session ID, URL, title, and screenshot. Supports shared authentication and visible window mode.

Instructions

Open a persistent browser session and return {session_id, url, title, screenshot}. The page stays alive across tool calls so you can explore, click, fill, debug, and accumulate console/network logs — the main workflow for anything multi-step. Pass project to share its authenticated context; headed=true opens a visible window. Sessions expire after idle timeout, so close_session when done.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to open
headedNoOpen a VISIBLE browser window instead of headless (default: false). Requires a display on the server. Use when you want to watch or hand-drive the session.
projectNoProject name (optional). With a project: runs in its shared, authenticated context. Without: runs in an isolated context (no shared cookies/login).
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses persistence, idle timeout, shared vs. isolated context, and the need to close. It does not mention potential side effects like display requirement for headed mode (described in schema) or rate limits, but overall provides good behavioral context.

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?

The description is four sentences, front-loaded with the primary action and return value. Every sentence adds essential information: purpose, persistence, parameter guidance, and cleanup. No redundant or filler content.

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?

Given the tool's complexity (session management) and no output schema, the description covers key aspects: return format, persistence, sharing, headed mode, timeout, and cleanup. It does not detail post-session navigation or log retrieval, but these are covered by sibling tools. It is sufficiently complete for an agent to understand and use correctly.

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 description coverage is 100%, so baseline is 3. The description adds value by explaining the effect of 'project' (shared authenticated context) and 'headed' (visible window), which enriches the schema's basic descriptions. 'url' is straightforward, but the added context justifies a 4.

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 uses a specific verb ('Open') and resource ('persistent browser session') and clearly states the return values. It distinguishes from sibling tools by emphasizing that the page stays alive for multi-step workflows, which is unique among the sibling list (e.g., close_session, navigate_session).

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 description provides clear context: use for multi-step workflows, pass 'project' for shared authenticated context, use 'headed' for visible windows, and close_session when done. It implies when to use but does not explicitly state when not to use or name alternatives, though the sibling tools cover single-step actions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/segentic-lab/periscope-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server