Skip to main content
Glama

sessions

Read-only

List browser instances and whether each is running, helping you verify active browser state before driving or recording a flow.

Instructions

List browser sessions and whether each is running.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this is a safe read, so the description's main addition is that the output includes a running/not-running indicator. It says nothing about scope (all sessions globally vs. only those under the given cwd) or whether stopped sessions persist in the listing, which is the behavior an agent most needs to know.

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?

A single front-loaded sentence with zero filler. Nothing is wasted, though the brevity is partly the cause of the gaps elsewhere.

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?

For a simple, annotated, single-parameter read tool this is close to adequate, but the presence of a project-scoping cwd parameter implies the listing may be scoped, and the description never says so. No output schema exists, yet the return shape is only partially conveyed ('whether each is running').

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?

With one parameter and 100% schema description coverage, the schema fully documents cwd and its default. The description adds no meaning about how cwd affects which sessions are returned, so it neither compensates nor detracts — baseline 3.

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 uses a specific verb and resource ('List browser sessions') and adds the useful qualifier that each entry reports running state. It does not distinguish itself from any sibling, so an agent cannot tell from the text alone whether 'job_status' or 'peek' cover overlapping ground.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. The agent is left to infer that this is the discovery step before opening or screenshotting a session.

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