Skip to main content
Glama

PillDrops

save_checkpoint

Save a named, restorable point of a running sandbox — its disk, plus its RAM and running processes on Firecracker — on the node that hosts it. Cheap: the guest is frozen for a fraction of a second (the reply reports paused_ms) and then runs on. Reach for it before anything you might want to undo — a migration, a risky refactor, an install — then roll back with restore_sandbox. A checkpoint lives on the node and dies with the sandbox; create_backup is the copy that outlives it, save_snapshot the one other sandboxes can boot from. There is a per-sandbox cap, which list_saved_states reports.

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": {
      "sandbox_id": "<sandbox_id>",
      "name": "<name>"
    },
    "name": "save_checkpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYescheckpoint name, e.g. before-migration
sandbox_idYessandbox id, e.g. sb_ab12cd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/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 discloses cost/latency (guest frozen for a fraction of a second, paused_ms in the reply), lifetime semantics (checkpoint lives on the node and dies with the sandbox), and an enforced per-sandbox cap. These are exactly the behaviors an agent must know before invoking a state-capturing mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four dense sentences, each with a distinct job: definition, cost, when-to-use plus rollback partner, then lifetime and sibling disambiguation. The essential capability and cost are front-loaded and there is no filler.

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?

For a two-parameter mutation with no output schema, it covers lifetime, latency, limits, and alternatives, and notes that the reply reports paused_ms. What is left unstated — auth requirements and whether reusing a name overwrites or errors — are minor gaps rather than blockers.

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 both parameters carry their own descriptions and examples, so the baseline is 3. The description reinforces that the checkpoint is 'named' and uses the same before-migration example as the schema, but adds no new format, uniqueness, or collision-handling semantics beyond the schema.

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 (save) and resource (named, restorable checkpoint) and defines the exact scope: disk plus RAM and running processes on Firecracker, stored on the host node. It explicitly separates itself from restore_sandbox, create_backup, and save_snapshot, so an agent can discriminate it from siblings without opening schemas.

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?

Gives an explicit trigger ('before anything you might want to undo — a migration, a risky refactor, an install') and names the follow-up tool (restore_sandbox). It also routes the agent to alternatives by condition: create_backup for copies that outlive the sandbox, save_snapshot for images other sandboxes can boot from, list_saved_states for the per-sandbox cap.

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.