Skip to main content
Glama

Embers: Tabletop RPG Toolkit

List companions in a campaign

play_list_campaign_companions
Read-onlyIdempotent

List the companions (buddies) attached to a play campaign's characters — the supporting cast a table sees beyond the roster. Read-only; the tie itself is managed on the vault character sheet (vault_attach_companion / vault_detach_companion). Monster-typed companions are excluded server-side. One entry per (Main, companion) pair, so a companion linked by two characters appears twice; each entry carries companionOf: { vaultCharacterId, name, userId } naming the character it accompanies, plus display fields (name, type, ruleset, image, description) and a projected primaryToken slice or null. Pair with vault_get_character on companionVaultId for the companion's full sheet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaignIdYesMongo `_id` of the campaign.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The description adds significant behavioral nuance beyond the readOnly/idempotent/destructive annotations: monster-typed companions are excluded server-side, duplicate entries appear for multi-linked companions, each entry carries companionOf and a possibly-null primaryToken slice. This meaningfully informs the agent about results it would not otherwise expect.

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?

The description is dense but every sentence earns its place: purpose, read-only nature, management boundaries, server-side filtering, duplicate-entry semantics, result fields, and a useful pairing hint. Key information is front-loaded before deeper details.

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?

Given one fully-documented parameter, rich annotations, and an output schema, the description still adds critical context: exclusion behavior, duplicate handling, field semantics, and the companionOf relationship. An agent has everything needed to select and invoke this tool 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 description coverage is 100% and the single parameter campaignId is fully documented as the Mongo _id of the campaign. The description adds no extra parameter-specific detail, but none is needed given the schema already covers it.

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 names a specific verb and resource: listing companions attached to a play campaign's characters, and clarifies they are the 'supporting cast' beyond the roster. This clearly differentiates it from sibling tools like play_list_campaign_characters and play_list_campaign_players.

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 gives clear context: it is read-only, the companion tie is managed elsewhere via vault_attach_companion/vault_detach_companion, and it suggests pairing with vault_get_character for full sheet details. It does not explicitly spell out when not to use it relative to play_list_campaign_characters, but the intent is clear.

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