Skip to main content
Glama

Create a VM

vm_create

Create a VM. Creates a VM from a project's latest build and starts it. The answer comes at once with the VM in queued or booting; poll GET /api/vms/{vmId} until state 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": {
      "projectId": "<projectId>"
    },
    "name": "vm_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
sizeNo
branchNomain
regionNo
ticketNo
projectIdYes
parameterValuesNo
keepServicesRunningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare this as a non-read-only, non-destructive, non-idempotent, closed-world mutation. The description adds behavior the annotations cannot: the call is asynchronous, returns immediately in `queued` or `booting`, and requires polling `GET /api/vms/{vmId}` for `running`. It omits cost/resource implications and what happens to the returned VM on failure.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action and followed by the async contract. The opening "Create a VM." is slightly redundant with the sentence that follows, but there is no padding or filler.

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?

The async lifecycle is explained well, which is the hardest part of this tool, and no output schema exists to require return-value documentation. But for an 8-parameter, nested-object mutation with 0% schema coverage, the near-total silence on parameter meaning leaves the definition incomplete for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, including a nested `ticket` object and two enums, so the description carries the full burden. It only implies `projectId` ("from a project's latest build") and says nothing about `size`, `branch`, `region`, `ticket`, `parameterValues`, `keepServicesRunning`, or `name`, leaving most inputs undocumented in both places.

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?

The description states a specific verb and resource and adds meaningful scope: the VM is built from the project's latest build and started immediately. It does not, however, distinguish this from the similarly-named sibling sandbox_create or explain when a VM is preferred over a sandbox.

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?

Usage guidance is operational rather than selective: it tells the agent what to do after the call (poll until `running`), which is genuinely useful. It never says when to use vm_create versus vm_wake, sandbox_create, or vm_list, and gives no prerequisites or exclusions.

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.