Skip to main content
Glama

Embers: Tabletop RPG Toolkit

List sessions in a campaign

play_list_campaign_sessions
Read-onlyIdempotent

List sessions belonging to one campaign. Caller must be a member of the campaign. Defaults to a compact summary shape ordered by most-recently-updated; pass detail: 'full' for the populated shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNo'recent' (default) orders by updatedAt descending so the freshest sessions come back first; 'date' removes the gateway's `recent` override and defers to the play backend's default ordering for the endpoint.recent
limitNoCap the number of sessions returned. Hard-capped at 200 server-side.
detailNoResponse shape. 'summary' (default) returns id + name + status + date + campaign-ref only; 'full' returns the populated session document including battlemap refs and the full description body.summary
campaignIdYesMongo `_id` of the play campaign.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish that this is a safe, read-only, idempotent operation. The description adds useful behavioral context beyond those annotations: membership requirement, default compact summary shape, most-recently-updated ordering, and the `detail: 'full'` opt-in for the populated shape.

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, no filler. The action and membership requirement are front-loaded, followed immediately by the most decision-relevant parameter behavior. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only listing tool with an output schema and full annotations, the description covers the essential operational context: campaign scope, membership precondition, and the shape/ordering defaults. Nothing critical is missing for an agent to invoke this correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the schema carries the full parameter documentation. The description complements it by highlighting the practical choice between summary and full shapes and noting the default ordering, which reinforces the meaning of `sort` and `detail` without repeating schema details.

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 uses a specific verb and resource ('List sessions') and clearly scopes the operation to one campaign. The title and description together unambiguously distinguish this from sibling list tools like play_list_my_sessions.

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 states the key prerequisite ('Caller must be a member of the campaign') and gives clear context on default behavior. It does not explicitly name alternatives or state when not to use it, but the intended use case is clear from the one-campaign scope.

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