Skip to main content
Glama

List browser sessions

list_browser_sessions
Read-onlyIdempotent

The kept sessions you may use: sites a person stayed signed in to, so a Browser agent or step starts signed in. Each with its site, whether it is yours or shared with you, its owner's name, when it ends and whether it has expired. Never what a session holds, nor whom it is shared with (that is its owner's, in the app). Recording a task and keeping a site's session are a person's, in the app (they drive and sign in), and a step's pictures stay there too: none of that is a tool.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many at most (default 25).
cursorNoFrom a previous call's next_cursor, for the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real context beyond that: which fields are surfaced, that the secret session content and share recipients are deliberately withheld, and that mutation operations live in the app rather than behind a tool.

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?

The returned-field list is front-loaded and every clause carries information, including the useful boundary sentence about what is not exposed. The prose is dense and grammatically fragmented ('that is its owner's, in the app'), which slows parsing but does not add padding.

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?

With no output schema, the description carries the burden of explaining return values and does so field by field, and pagination is fully covered by the schema. Minor gaps remain around ordering and total counts, but an agent has everything needed to call and interpret the result.

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%, with limit and cursor both documented in the schema including the default of 25. The description adds nothing about the limit cap or cursor semantics, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description defines the resource precisely as the set of kept browser sign-in sessions and enumerates the fields returned (site, ownership, owner name, expiry). It is clear what the tool yields, though the opening clause ('The kept sessions you may use') is elliptical and leans on the tool name for the listing verb.

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?

It gives the use case directly - so a Browser agent or step starts signed in - and adds explicit exclusions: session contents, sharing details, task recording, session keeping, and step pictures are all 'not a tool.' That tells an agent what not to attempt, though it does not name any tool to use instead for those needs.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.