Skip to main content
Glama

Embers: Tabletop RPG Toolkit

List a campaign's PBEM inbox

play_list_pbem_inbox
Read-onlyIdempotent

List the captured inbound emails on a play-by-email campaign. Each item carries the matched player (or null when unmatched), sender display name, sent time, subject, verbatim body, a distilled replyText (latest contribution with quoted history stripped), senderIsGamemaster (true when the sender is the campaign owner or an accepted gamemaster — the move builder boxes GM emails), and senderDisplayName (the GM-set attribution name for the matched player, empty when unset). GM-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoFilter by item status. 'new' (default) is the pending pile awaiting triage; 'consumed' items are linked to a published move; 'dismissed' items were discarded by the GM.new
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.0
Behavior4/5

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

Annotations already mark this read-only, idempotent, and non-destructive. The description adds value beyond annotations by explaining GM-only access, the null matched-player case, replyText stripping quoted history, and the senderIsGamemaster/senderDisplayName semantics.

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 purpose is front-loaded in the first sentence, and the follow-up sentence packs useful return-field semantics without filler. The long parenthetical about the move builder is slightly dense, but no sentence is wasted.

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, the description covers the access restriction, the status-filtered subject matter, and the meaning of the returned fields. With a full parameter schema, readOnly/idempotent annotations, and an output schema present, nothing essential is missing for an agent to call it correctly.

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 coverage is 100%, with campaignId and status fully described including the enum meanings and default. The description reinforces the item-level concepts but does not add parameter-level details beyond what the schema already provides, so the baseline of 3 applies.

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 opens with the specific action 'List' and a precise resource: captured inbound emails on a play-by-email campaign. It also explains what each returned item contains, leaving no ambiguity about what the tool does and how it differs from mutation siblings like play_consume_pbem_emails or play_dismiss_pbem_email.

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?

The 'GM-only' note gives an access constraint, and the title implies the use case of reviewing a campaign's PBEM inbox. However, the free-text description never explicitly says when to choose this over related tools such as play_consume_pbem_emails or play_resolve_pbem_email; the usage guidance is implied rather than stated.

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