Skip to main content
Glama

PillDrops

save_snapshot

Save a running sandbox as a named, org-wide snapshot that new sandboxes can be created from (pass the name as create_sandbox's template). This is how a slow setup — dependencies installed, a database seeded, a build warmed — is paid for once. The capture freezes the guest briefly, then the whole memory image is uploaded in the background: the reply is a 202 with status building, and list_snapshots says when it is ready. Saving the same name again adds a version and retires the old one. Minutes, and gigabytes.

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_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYessnapshot name, reused as a template id
sandbox_idYessandbox id, e.g. sb_ab12cd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so thoroughly: it discloses the brief guest freeze, the background memory-image upload, a 202/building reply, polling via list_snapshots, same-name re-save creating a version that retires the old one, and the cost profile ('Minutes, and gigabytes'). Only permissions and post-save sandbox state are left implicit, which is minor against this much disclosure.

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?

Front-loaded with the identity of the tool, then use case, then mechanics, then cost. Four sentences, no filler; the em-dash example list and the closing 'Minutes, and gigabytes' both carry real information rather than padding.

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?

No output schema exists, yet the description still explains the return shape (202, status building) and how to resolve readiness via list_snapshots. Combined with versioning behavior and cost expectations, an agent has everything needed to call this correctly and handle the async result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description goes beyond the schema by explaining that the name is consumed as a template id by create_sandbox and that reusing a name creates a new version and retires the prior one -- genuine semantic value about what the name parameter does over time.

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 and resource with scope: 'Save a running sandbox as a named, org-wide snapshot.' It also names the downstream consumer (create_sandbox's template). It does not distinguish itself from the sibling save_checkpoint, which is the one plausible confusion an agent could have.

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 a clear trigger condition -- 'This is how a slow setup — dependencies installed, a database seeded, a build warmed — is paid for once' -- and states the follow-on use via create_sandbox. It stops short of explicit when-not guidance or naming save_checkpoint as the alternative.

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.