Skip to main content
Glama

Embers: Tabletop RPG Toolkit

Unlink a play campaign from an adventure

imagine_unlink_adventure_from_campaign
Idempotent

Remove a play campaign from an adventure's playCampaignIds[]. Inverse of imagine_link_adventure_to_campaign. Two-way: also removes the adventure's entry from the play campaign's imagineAdventures[] mirror (session tags on play are left in place — inert while unlinked, re-lit on re-link). Caller must be the campaign's owner or gamemaster on play and have 'edit' access on the adventure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMongo `_id` of the adventure.
campaignIdYesMongo `_id` of the play campaign to link. Get it from `play_list_my_campaigns` or `play_list_participated_campaigns`.

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?

Annotations indicate mutating, idempotent, and non-destructive, but the description adds critical context beyond annotations: the two-way mirror removal and the session tag behavior (left inert, re-lit on re-link). It also discloses the authorization requirement. No contradiction with annotations; this fully informs the agent of side effects.

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?

Four sentences, each packed with essential information: core action, inverse, two-way mirror behavior, and authorization. No filler, front-loaded with the primary action. Excellent structure.

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 two-way link removal with mirror effects and session tag nuance, the description is complete. It covers prerequisites, side effects, and the inverse. An output schema exists, so return value explanation is unnecessary. 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 description coverage is 100% and both parameters are well-described in the schema (adventure _id, campaign _id with source). The description does not add extra parameter-specific semantics beyond the schema, so baseline 3 is appropriate.

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 states a specific verb ('Remove'), the resource (adventure's playCampaignIds[]), and the inverse relationship to imagine_link_adventure_to_campaign. It distinguishes itself clearly from the sibling link tool and other unlink tools by naming the exact array and the two-way mirror behavior.

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?

It explicitly states prerequisites: caller must be campaign owner/gamemaster and have edit access on the adventure. It identifies itself as the inverse of the link tool, which implies when to use. However, it does not explicitly contrast with other unlink tools (e.g., imagine_unlink_world_from_campaign) or state when not to use it, so a 4 is appropriate.

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