Skip to main content
Glama

List sessions

list_sessions
Read-onlyIdempotent

List recorded sessions for a campaign, newest first, each with its chronicle title.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "campaign_id": "<campaign_id>"
    },
    "name": "list_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items to return (1-50).
cursorNoOpaque pagination cursor from a previous response.
campaign_idYesThe campaign whose sessions to list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds useful traits beyond that — result ordering ('newest first') and per-item content ('chronicle title'). It says nothing about pagination behavior or what an empty result looks like, keeping it at an adequate rather than rich level.

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 well-formed sentence with the resource, scope, ordering, and item content front-loaded. No filler, no restatement of the tool name or title.

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?

This is a simple read-only list tool with fully documented parameters and annotations covering safety, and no output schema is needed since the description states each item carries its chronicle title. The only real gap is behavior at the edges (empty results, cursor lifecycle), which is minor for this complexity.

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 campaign_id, limit, and cursor are all documented in the schema itself with bounds and defaults. The description confirms that campaign_id scopes the listing and that results come newest first, but adds no syntax, cursor semantics, or filtering detail beyond the schema — the baseline 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 gives a specific verb and resource ('List recorded sessions'), scopes it to a campaign, and even states ordering and payload ('newest first, each with its chronicle title'). It does not explicitly contrast with siblings such as get_session_recap or get_transcript, but the list-vs-get distinction is inferable from the verb.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the enumeration tool for sessions within one campaign. There is no explicit when-to-use, when-not-to-use, or named alternative for retrieving a single session's recap or transcript, so guidance stops at implication.

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.

Resources