Skip to main content
Glama

scalix_computer_create

Idempotent

Get or create a persistent Linux machine by name. Idempotent — calling it again with the same name returns the existing machine rather than creating another, so it is safe to retry. Unlike a sandbox, the disk survives stop/start and is only erased by scalix_computer_delete.

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": "scalix_computer_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesMachine name: lowercase letters, digits and hyphens, max 63 characters. Unique to you.
vcpusNovCPUs, 1-16 (default 1). Ignored if the machine already exists.
regionNoOptional canonical region id (from GET /v1/regions) to place the machine in. Ignored if the machine already exists — a Computer is host-bound for life. Omit to let the platform pick.
disk_gbNoRoot disk in GB, 5-200 (default 10). Fixed at create — disks do not grow. Ignored if the machine already exists.
ssh_keysNoOpenSSH public keys to authorise for root, max 32, e.g. ["ssh-ed25519 AAAAC3Nz… you@laptop"]. Only needed if a human will ssh in — exec, write_file and read_file all work without one. Send the public half only; a private key is rejected. Ignored if the machine already exists — use scalix_computer_set_ssh_keys to change them. Supplying this needs the sandbox:execute scope on top of sandbox:create, because a key is a root shell; omit it and sandbox:create alone is enough.
memory_mbNoMemory in MB, 512-32768 (default 1024). Ignored if the machine already exists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / region
      Added value: +{
      +  "description": "Optional canonical region id (from GET /v1/regions) to place the machine in. Ignored if the machine already exists — a Computer is host-bound for life. Omit to let the platform pick.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds durable behavioral context beyond them: the disk survives stop/start and only scalix_computer_delete erases it, and a repeat call returns the existing machine. It does not mention that create-time parameters are ignored on an existing machine (that lives only in the schema), so it is not fully complete on behavior.

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?

Two short sentences, zero waste, with the identity and idempotency guarantee front-loaded ahead of the persistence detail. Every clause carries information an agent needs.

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 six-parameter creation tool with a fully documented schema and no output schema, the description covers purpose, retry safety and lifecycle, which is what an agent cannot get from structured fields. It lacks only return-shape hints and the create-affecting note that vcpus/region/disk_gb are ignored on an existing machine.

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 the schema already documents every parameter including ranges, defaults, the ignored-if-exists rule and the scope requirement for ssh_keys. The description adds no parameter meaning at all, so the baseline of 3 applies when the schema does the heavy lifting.

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 pair and resource ('Get or create a persistent Linux machine by name') and explicitly differentiates the resource from a sandbox and from the delete sibling that is the only thing that erases it. An agent can tell this apart from scalix_computer_list, start, stop and delete without opening any 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 when-to-use context (create or fetch a machine by name, safe to retry) and routes one follow-up case to an explicit alternative ('use scalix_computer_set_ssh_keys to change them'). It does not say when not to use it, e.g. discovering existing machines by listing rather than guessing names, so it falls short of full 5-level guidance.

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.