Skip to main content
Glama

Create machine

create_machine

Creates a new Hadronbox sandbox Linux VM with a /workspace directory, waits until running, and returns its machine ID for subsequent commands.

Instructions

Create a new hadronbox sandbox machine (a Linux VM with a /workspace directory) and wait until it is running. Returns its machine_id. Machines cost credits while running; reuse an existing one (list_machines) when you can.

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

Input Schema

NameRequiredDescriptionDefault
nameYesUnique machine name: 2-40 lowercase letters, digits and dashes, starting with a letter or digit, e.g. "agent-task-1".
sizeNosmall (2 vCPU / 2 GiB, default), medium (2 vCPU / 4 GiB) or large (4 vCPU / 8 GiB).
toolsNoTools installed in the background after boot, e.g. ["node", "python"].
templateNoTemplate code; omit for the default image.
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

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (not read-only, not destructive, not idempotent, closed-world), so the description's added value is the cost model ('machines cost credits while running'), the blocking wait behavior, and the returned machine_id — all real context beyond structured fields. It does not address edge behavior such as a name collision (relevant given idempotentHint=false) or what happens when the wait times out, which holds it below a 5.

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?

Three short sentences: capability, return value, then cost caveat with the alternative — front-loaded and every clause carries information. No repetition of schema details or 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 five-parameter mutation tool with no output schema, the description supplies the missing return value (machine_id), the domain model (Linux VM with /workspace), and the credit cost implication. Remaining gaps are failure/timeout semantics, which a caller of a provisioning tool would reasonably want before invoking.

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%, with each parameter carrying its own constraints, enum semantics and default (including the 3-minute wait). The description only echoes the wait-until-running behavior already documented on wait_until_running and adds no new meaning for name, size, tools, or template, so 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 specific verb and resource ('Create a new hadronbox sandbox machine') and immediately defines what that is ('a Linux VM with a /workspace directory'), then names what it returns. It also implicitly separates itself from list_machines and the lifecycle siblings by being the creation entry point.

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 explicit cost-driven reuse guidance ('reuse an existing one (list_machines) when you can'), which is a genuine when-to-use/when-not signal rather than an implied one. It stops short of a full decision tree (e.g., no explicit statement about when creation is unavoidable), so it is strong but not exhaustive.

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