Skip to main content
Glama

Embers: Tabletop RPG Toolkit

Delete a page

play_delete_page
DestructiveIdempotent

Soft-delete a page by id (30-day TTL via deactivated_at, recoverable in the app UI within the window). Allowed for the page's owner, an admin with Admin Mode on, or the GM of the page's campaign for a page the table sees (a public page, or a GM-side page: dm-notes, campaign-logistics). A player's private pages and recaps answer to their author (or an admin with Admin Mode on) alone, and a character's player notes (player-notes) to the character's player (or an admin with Admin Mode on), never the GM. Destructive. Confirm with the user first.

Input Schema

NameRequiredDescriptionDefault
idYesMongo `_id` of the page.

Output Schema

NameRequiredDescriptionDefault
idNo
deletedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description adds value beyond them: the delete is soft with a 30-day TTL tracked via deactivated_at and is recoverable only in the app UI within that window. It also discloses the full authorization model, which annotations do not cover.

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?

Front-loads the core action and reversibility window in the first clause; the dense authorization matrix is justified but jargon-heavy (dm-notes, player-notes, GM-side) and could be tightened. No wasted sentences overall.

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?

An output schema exists, so return values need not be described, and annotations carry the safety profile. Together with the reversibility window and permission rules, the description covers everything an agent needs to decide whether it may call this tool.

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?

Only one parameter (id), and the schema already documents it at 100% coverage as the Mongo _id. The description's 'by id' adds no format, source, or lookup guidance beyond the schema, so the baseline 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?

States a specific verb and resource with the crucial qualifier 'soft-delete by id', which distinguishes it from a hard delete and from sibling deletes (play_delete_campaign, play_delete_session, imagine_delete_*_page). The TTL mechanism (deactivated_at) confirms the exact semantics.

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?

Gives strong preconditions — who may delete a page (owner, admin in Admin Mode, GM of a public or GM-side page) and who may not — plus an explicit 'Confirm with the user first' instruction. It stops short of naming an alternative tool or the inverse (e.g., how to restore), so it is clear context rather than full when/when-not routing.

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