Skip to main content
Glama

rollback_checkpoint

Revert all session edits made after a labeled checkpoint in one call; get clear results for skipped, redone, and non-reversible changes.

Instructions

Undo every edit this session made since checkpoint(label), in one call.

Refuses and changes nothing when another session (a second chat, another
assistant) edited after the mark, or when history, which keeps 1000 steps
and 64 MB of terrain snapshots, no longer reaches it. Edits outside history, such
as tool_action, water or a map resize, cannot be reversed; the reply lists
them under `not_reversible`; steps whose elements were already gone are
dropped and listed under `skipped`, and steps an undo since the mark took
away come back, under `redone`. Tell the user what was and was not undone.
Edit replies carry `checkpoint_warning` as the mark nears the history
limit: save_map then.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "label": "<label>"
    },
    "name": "rollback_checkpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it declares atomic refusal semantics ('Refuses and changes nothing') with two concrete refusal conditions (concurrent session edits, history no longer reaching the mark), and quantifies the history budget (1000 steps, 64 MB of terrain snapshots). It also discloses which edit classes cannot be reversed and names the response keys that report partial outcomes.

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?

The key action and its atomicity are front-loaded in the first sentence, and the remaining sentences each add distinct operational information. The middle sentence is long and packs several enumerated outcome categories, but no clause is redundant.

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?

There is no output schema, and the description compensates by naming the response fields (`not_reversible`, `skipped`, `redone`, `checkpoint_warning`) and telling the caller to report results to the user. For a one-parameter destructive-style operation, an agent has enough to call it and interpret the result.

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 0% and the single `label` parameter is documented only as a bare string in the schema. The description ties it to the checkpoint mark created by the `checkpoint` tool via the `checkpoint(label)` notation, which is meaningful, but it does not state what happens when the label does not resolve or whether it is exact-match.

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 scope: undo every edit this session made since checkpoint(label), in one call. The session-scoped framing and the reference to a named checkpoint mark separate it cleanly from a single-step `undo` and from `checkpoint` itself.

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 triggering context (rollback to a prior checkpoint mark) and an explicit conditional routing: when `checkpoint_warning` appears, save_map then. It stops short of an explicit when-to-use-this-vs-`undo` comparison, so the alternative for single-step reversal is left implicit.

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

Deploy Server

Other Tools