Skip to main content
Glama

Novel Save Management

manage_novel
Destructive

Create, resume, switch, or end a campaign and save/restore its context so play can continue from the right state. Use for lifecycle and saved-context actions, not entity content.

Instructions

Manage Novel save files: create, resume, switch, end, rename, description, info, genre, complete_session_zero, save_context, get_context, and list. list returns one line per Novel unless detail is set, and filter selects active, archived, or all. create and save_context persist to the Novel; list, info, and get_context are read-only. Lifecycle changes are not reversible via manage_history, so clone a Novel with manage_archive before a risky change. Use when: handling a campaign's lifecycle or returning to saved context. Do NOT use when: managing content inside the Novel — use the entity tools; use manage_archive for export, import, archive/unarchive, clone/branch, and checkpoints.

Input Schema

NameRequiredDescriptionDefault
dataNoExported Novel JSON (import).
modeNodry-run, merge, or replace (import).
nameNoNovel name (create).
slugNoNovel slug (resume/switch/archive/unarchive/info).
genreNoGenre tag (create/genre).
labelNoCheckpoint label (checkpoint_set/list/restore/remove).
scopeNoExport scope (export).
actionYescreate, resume, switch, end, export, import, rename, description, list, archive, unarchive, info, genre, complete_session_zero, clone, branch, save_context, get_context, checkpoint_set, checkpoint_list, checkpoint_restore, or checkpoint_remove.
detailNoReturn full metadata (list).
filterNoactive, archived, or all (list).
formatNoOutput format (export).
strictNoFail on any cross-reference mismatch (import).
rulesetNoRuleset slug (create).
new_nameNoName for the copy or branch (clone/branch).
new_slugNoNew slug (rename).
from_eventNoEvent-log ordinal to branch from (branch; default latest).
descriptionNoDescription (create/description).
source_slugNoNovel to copy or branch from (clone/branch).
player_goalsNoPlayer goals (save_context).
current_sceneNoCurrent-scene summary (save_context).
codex_adventureNoCodex adventure to seed from (create).
long_term_plansNoLong-term plans (save_context).
short_term_plansNoShort-term plans (save_context).
immediate_situationNoImmediate situation (save_context).
include_checkpointsNoInclude checkpoints in export (default false; export).
trim_audit_sessionsNoKeep only the most recent N sessions' audit entries in the clone (clone; default full copy).
pending_player_actionNoPending player action (save_context).

Output Schema

NameRequiredDescriptionDefault
textNoHuman-readable text envelope mirroring the structured result (REQ-001, REQ-548a).
statusYesMachine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "create",
      -  "resume",
      -  "switch",
      -  "end",
      -  "export",
      -  "import",
      -  "rename",
      -  "description",
      -  "list",
      -  "archive",
      -  "unarchive",
      -  "info",
      -  "genre",
      -  "complete_session_zero",
      -  "clone",
      -  "branch",
      -  "save_context",
      -  "get_context",
      -  "checkpoint_set",
      -  "checkpoint_list",
      -  "checkpoint_restore",
      -  "checkpoint_remove"
      -]New value: +[
      +  "create",
      +  "resume",
      +  "switch",
      +  "end",
      +  "rename",
      +  "description",
      +  "list",
      +  "info",
      +  "genre",
      +  "complete_session_zero",
      +  "save_context",
      +  "get_context"
      +]
  2. Changed2 schema fields changedv2026.10.12
    • changedInput schema / properties / action / description
      Previous value: -"create, resume, switch, end, export, import, rename, description, list, archive, unarchive, info, genre, clone, branch, save_context, get_context, checkpoint_set, checkpoint_list, checkpoint_restore, or checkpoint_remove."New value: +"create, resume, switch, end, export, import, rename, description, list, archive, unarchive, info, genre, complete_session_zero, clone, branch, save_context, get_context, checkpoint_set, checkpoint_list, checkpoint_restore, or checkpoint_remove."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "create",
      -  "resume",
      -  "switch",
      -  "end",
      -  "export",
      -  "import",
      -  "rename",
      -  "description",
      -  "list",
      -  "archive",
      -  "unarchive",
      -  "info",
      -  "genre",
      -  "clone",
      -  "branch",
      -  "save_context",
      -  "get_context",
      -  "checkpoint_set",
      -  "checkpoint_list",
      -  "checkpoint_restore",
      -  "checkpoint_remove"
      -]New value: +[
      +  "create",
      +  "resume",
      +  "switch",
      +  "end",
      +  "export",
      +  "import",
      +  "rename",
      +  "description",
      +  "list",
      +  "archive",
      +  "unarchive",
      +  "info",
      +  "genre",
      +  "complete_session_zero",
      +  "clone",
      +  "branch",
      +  "save_context",
      +  "get_context",
      +  "checkpoint_set",
      +  "checkpoint_list",
      +  "checkpoint_restore",
      +  "checkpoint_remove"
      +]
  3. Addedv1.0.3

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description goes beyond them by stating which actions persist (create, save_context) versus read-only (list, info, get_context) and that lifecycle changes are not reversible via manage_history, with the mitigation of cloning first. The remaining gap is that it never clarifies whether the destructive enum actions (import, clone, checkpoint_restore) are actually callable here or hard-routed to manage_archive.

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-loaded with the action scope, then behavior (read-only vs persisting), then a risk warning, then use/do-not-use. It is dense but every sentence carries routing or safety information. The opening enumeration of twelve action names partially duplicates the action enum, which is the main redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 no explanation, and the description covers routing, mutation semantics, and irreversibility for a 27-parameter tool. However, with the action enum listing export/import/clone/branch/checkpoint actions that the prose delegates to manage_archive, an agent cannot fully resolve whether those are callable here — a meaningful ambiguity for a destructive 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?

Schema coverage is 100% and each of the 27 parameters is annotated with its owning action, so the schema carries most of the load. The description adds real meaning for `detail` ('list returns one line per Novel unless detail is set') and `filter` (active/archived/all), but says nothing about the remaining parameters beyond the action-level split. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (Novel save files) and enumerates the concrete actions (create, resume, switch, end, rename, info, save_context, get_context, list), so an agent can tell it handles campaign lifecycle rather than content. It explicitly separates itself from the entity tools and manage_archive. The only blur is that the schema's action enum still lists export/import/clone/branch/checkpoint_* actions the description tells the agent to route elsewhere.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit 'Use when: handling a campaign's lifecycle or returning to saved context' and 'Do NOT use when: managing content inside the Novel — use the entity tools', plus a named alternative (manage_archive) for export/import/archive/clone/checkpoints. Both the positive trigger and the exclusion are stated, leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.