Skip to main content
Glama

Create machine from snapshot

create_from_snapshot

Launch a new cloud sandbox machine from a ready snapshot, including its files and installed tools, and wait until it is running.

Instructions

Create a new machine from a ready snapshot (its files and installed tools included) and wait until it is running.

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

Input Schema

NameRequiredDescriptionDefault
nameYesUnique name for the new machine (2-40 lowercase letters, digits, dashes).
sizeNosmall (default), medium or large.
snapshot_idYessnapshot_id from list_snapshots.
wait_until_runningNoWait up to 3 minutes for the machine to start (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds that the operation is blocking ('wait until it is running') and that the new machine includes the snapshot's files and tools, but it does not mention the wait timeout, what happens if the wait fails, or potential side effects.

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?

A single front-loaded sentence that names the action, the source, the content copied, and the completion semantics with no redundant wording.

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

Completeness3/5

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

No output schema exists, so the description should say what comes back (machine identifier, status, endpoint). It conveys the wait behavior and cloned content but omits the return value and failure behavior, leaving a meaningful gap for a mutation tool.

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%, so every parameter (name, size, snapshot_id, wait_until_running) is already documented in the schema. The description only reinforces the snapshot_id source and the blocking semantics; it adds no syntax or constraint detail beyond the schema, which is the expected baseline.

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+resource ('Create a new machine from a ready snapshot') and clarifies what the clone carries over (files and installed tools). It does not distinguish itself from the sibling create_machine, so an agent must infer the difference between creating from a snapshot versus from scratch.

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 word 'ready' implies a snapshot-state prerequisite, and the mention of snapshot content hints at when a snapshot-based create is preferable. However, no explicit when-to-use / when-not-to-use guidance or alternative (e.g. create_machine) is given, leaving the choice implicit.

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