Skip to main content
Glama

Rollback snapshot

rollback_snapshot
Destructive

Restore a Cloud VPS (KVM/VDS) disk to a saved snapshot, discarding all later disk changes. Confirm first; this destructive rollback recovers the prior state.

Instructions

Roll a Cloud VPS (KVM/VDS) service back to a disk snapshot. DESTRUCTIVE: disk state after the snapshot is lost. Confirm with the user before calling. Tip: take a snapshot before any risky or automated change — it's free for an initial window, so it's cheap insurance you can roll back to. DELETE the snapshot once the change succeeds and you no longer need it — after the free window it is billed per GB while kept (Cloud VPS snapshots do NOT auto-expire), so never leave snapshots lying around. Requires services:manage and a full-access API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
snapnameYesSnapshot name from list_snapshots

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by specifying the exact consequence ('disk state after the snapshot is lost'), the confirmation requirement, the required authorization scope, and the billing/expiry behavior of snapshots. This is the kind of operational context an agent needs before invoking a destructive write.

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 purpose and the destructive warning, which is the right ordering. The trailing tips about taking snapshots before risky changes and deleting them to avoid billing, while genuinely useful, drift into the lifecycle of create_snapshot/delete_snapshot rather than this tool.

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?

With no output schema and only two fully-documented required parameters, the description supplies the missing pieces an agent needs: irreversibility of the operation, confirmation, and auth scope. Nothing essential is absent, though it doesn't state what the call returns (e.g., an async operation/event handle).

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%: orderNo's format and snapname's origin ('from list_snapshots') are already fully documented in the schema. The description adds no parameter-level meaning beyond that, 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 precise verb+resource ('Roll a Cloud VPS (KVM/VDS) service back to a disk snapshot') and qualifies the scope as KVM/VDS, which implicitly distinguishes it from the sibling rollback_firecracker_snapshot. An agent can identify the operation without opening the schema.

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 clear context for use, a confirmation prerequisite ('Confirm with the user before calling'), and a precondition (services:manage + full-access API key). It does not explicitly name alternatives such as rollback_firecracker_snapshot or point to list_snapshots for obtaining snapname, so routing is implied rather than spelled out.

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