Skip to main content
Glama

rollback_snapshot

Restore mods/ and config/ to a prior snapshot, reverting changes made during mutation or crash bisection to recover a stable Minecraft instance.

Instructions

Restore mods/ and config/ to a prior snapshot_id created before mutation/bisection.

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": {
      "instance_path": "<instance_path>",
      "snapshot_id": "<snapshot_id>"
    },
    "name": "rollback_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
snapshot_idYes
instance_pathYes

Output Schema

NameRequiredDescriptionDefault
restoredYes
files_revertedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose that this is an overwriting restore of two directories. It does not say whether current files are destroyed or merged, whether the operation is reversible, whether the instance must be closed, or what permissions/errors apply — all material for an unannotated mutation tool.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its terseness leaves the destructive semantics under-explained for a tool of this weight.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated, destructive restore with 0% parameter documentation, the definition omits the critical operational facts: irreversibility, effect on files not present in the snapshot, and prerequisite state. The presence of an output schema relieves it of describing return values, but the invocation-side gaps remain substantial.

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%, so the description must compensate. It names snapshot_id and ties it to a prior snapshot, but gives no format, source, or validity constraints, and instance_path is never mentioned at all.

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?

States a specific verb ('Restore') and concrete resources ('mods/ and config/') plus the key input ('prior snapshot_id'), so the agent knows exactly what the tool does. It stops short of differentiating itself from siblings such as list_snapshots or bisect_crash, which is what would be needed for a 5.

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

Usage Guidelines3/5

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

The phrase 'created before mutation/bisection' implies the workflow context in which this tool applies, i.e., undoing changes made by a mutation or bisection run. However, it never says when not to use it, nor does it point to list_snapshots as the way to obtain a valid snapshot_id, leaving the selection guidance implicit.

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