Skip to main content
Glama

Embers: Tabletop RPG Toolkit

Unlink a play campaign from a world

imagine_unlink_world_from_campaign
Idempotent

Unlink a play campaign from a world: removes the campaign from the world's playCampaignIds[]. Pass removeSyncedHouseRules: true to also remove the house rules the link shared between the world and the campaign. The caller must be the campaign's owner or gamemaster. Caller must have 'edit' access on the world.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMongo `_id` of the world.
campaignIdYesMongo `_id` of the play campaign to unlink.
removeSyncedHouseRulesNoWhen true, also removes the house rules the link shared between the world and the campaign. Default false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / removeSyncedHouseRules / description
      Previous value: -"When true, additionally cleans up any house rules that were synced into the world when the campaign was originally linked. Default false."New value: +"When true, also removes the house rules the link shared between the world and the campaign. Default false."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations: it identifies the exact data structure modified (`playCampaignIds[]`), describes the optional house-rule removal side effect, and states permission requirements. This goes well beyond the readOnly/destructive/idempotent hints while not contradicting them.

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?

Three short sentences, each earning its place: purpose and core effect, optional flag behavior, and access prerequisites. No filler or redundancy.

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?

For a mutation tool with an output schema, the description covers the operation, optional side effect, and authorization requirements. It is missing only minor contextual details such as behavior when the link does not exist, but the idempotentHint annotation partially covers that.

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 the schema already documents all three parameters. The description adds a bit of shared context around `removeSyncedHouseRules`, but does not substantially extend the parameter-level meaning beyond what the schema provides.

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 begins with a specific verb and object: 'Unlink a play campaign from a world,' and then states the exact mechanism: 'removes the campaign from the world's `playCampaignIds[]`.' This clearly distinguishes it from sibling unlink tools for adventures and makes the tool's function unambiguous.

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 provides concrete usage context: when to add `removeSyncedHouseRules: true` and explicit caller requirements ('The caller must be the campaign's owner or gamemaster. Caller must have 'edit' access on the world.'). It does not explicitly name alternatives, but the intended use case is clear and the guidance is actionable.

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