Skip to main content
Glama

browser.fork_session

Snapshots a browser session's cookies, storage state, and current URL to create a new independent session for branching workflows or parallel testing.

Instructions

Fork a session: snapshot its cookies, storage state, and current URL, then create a new independent session with that state. Useful for branching workflows or running parallel variants.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
nameNo
start_urlNo
Behavior3/5

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

Annotations already indicate non-destructive behavior (destructiveHint=false). The description adds that it creates an 'independent' session, clarifying no interference with the original. However, it doesn't disclose any potential side effects or limitations beyond the snapshot, which is acceptable given the annotations.

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: first defines the action with clear steps, second adds the use case. No redundant or extraneous information. Every sentence contributes meaning.

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?

The description covers the core functionality but omits parameter details and return behavior (no output schema). For a tool with 3 parameters and moderate complexity, it leaves gaps in clarity, especially for optional parameters. The annotations help somewhat, but the description could elaborate on parameter semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 3 parameters (session_id, name, start_url) with 0% description coverage. The tool description does not explicitly describe these parameters. While 'session_id' is implied by 'snapshot its... current URL', the 'name' and 'start_url' parameters lack any explanation of their purpose, making it harder for the agent to use correctly.

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 clearly states the action: 'Fork a session: snapshot its cookies, storage state, and current URL, then create a new independent session with that state.' This distinguishes it from siblings like 'create_session' (new blank session) and 'close_session' (destroy session). The verb is specific and the resource is well-defined.

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 includes 'Useful for branching workflows or running parallel variants,' providing clear context for when to use this tool. While it doesn't explicitly mention alternatives, the use case is well-implied and distinct from other session operations.

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/LvcidPsyche/auto-browser'

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