Skip to main content
Glama

create_session

Create a persistent browser session to maintain authentication state across multiple Pagebolt operations, enabling AI workflows to log in once and perform authenticated actions.

Instructions

Create a persistent browser session (Starter+ plan required). The session keeps a live browser page open so you can reuse cookies, localStorage, and auth state across multiple take_screenshot or run_sequence calls. Pass the returned session_id to those tools. Sessions expire after 10 minutes of inactivity (hard cap: 30 minutes). Useful for AI agent workflows that log in once and then take multiple screenshots of authenticated pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cookiesNoCookies to pre-load into the session browser page
viewportNoViewport dimensions for the session browser page
stealthNoLaunch this session with stealth mode (bypasses bot detection). Note: stealth sessions use a dedicated browser and consume more memory.
Behavior4/5

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

With no annotations provided, the description carries full burden and does well: discloses plan requirements (Starter+), session expiration (10 minutes inactivity, 30 minute hard cap), and that sessions keep browser pages open for reuse. It doesn't mention error conditions or performance characteristics, but covers key behavioral aspects.

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?

Well-structured with zero waste: first sentence states core purpose, second explains utility and connection to sibling tools, third covers expiration policy, fourth provides usage context. Every sentence earns its place.

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 creation tool with no annotations and no output schema, the description does well: explains purpose, usage context, behavioral constraints, and connection to other tools. It doesn't describe the return value format (though mentions session_id) or error conditions, but covers most essential context.

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%, so the schema already documents all parameters. The description doesn't add any parameter-specific information beyond what's in the schema. Baseline 3 is appropriate when schema does the heavy lifting.

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 tool creates a persistent browser session for reusing cookies, localStorage, and auth state across multiple screenshot or sequence calls. It specifically distinguishes from siblings like take_screenshot and run_sequence by explaining this is a prerequisite session creation tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: 'Starter+ plan required', 'useful for AI agent workflows that log in once and then take multiple screenshots of authenticated pages.' It also distinguishes from siblings by explaining the returned session_id should be passed to take_screenshot or run_sequence tools.

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/Custodia-Admin/pagebolt-mcp'

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