Skip to main content
Glama

OpenFactory

create_vm

Create a VM from a built image, using the ARM preview for a PinePhone build.

Creates and starts a new VM running the built image.

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

Input Schema

NameRequiredDescriptionDefault
nameNoOptional name for the VM
vcpusNoNumber of virtual CPUs
lab_idNoOwned private lab; never a host/network identifier
api_keyNoYour OpenFactory MCP API key (optional)
build_idYesThe build ID to create a VM from
networksNoLogical networks belonging to this lab
memory_mbNoVM memory in MB
base_imageNoBase image slug such as fedora-43, so release-specific installer steps match the release actually being installed
lab_node_idNoStable logical lab role name
auto_installNoInstall the built ISO to the primary disk and reboot into the installed system instead of leaving the VM on live media
disk_size_gbNoPrimary VM disk size in GB
session_tokenNoSession token from a previous tool response (pass this to maintain session continuity)
installer_typeNoThe recipe's declared installer ("calamares", "anaconda"). Required with auto_install for a general-purpose desktop image; without it only appliance ISOs resolve an installer
storage_devicesNoOptional extra VM disks/controllers, such as generated NVMe disks
installer_methodNoOptional registered install strategy override, such as guest_agent for the OpenFactory Installer compatibility route

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful behavior: the VM is both created and started, not just provisioned. It says nothing about permissions, what happens on failure, the effect of auto_install/installer_type, or session continuity, which are significant gaps for a 15-parameter mutation tool.

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

Conciseness3/5

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

The core action is front-loaded in the first clause, but the second sentence largely restates the first rather than adding information. The opening "using the ARM preview for a PinePhone build" is oddly specific and muddies an otherwise clean statement.

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

Completeness2/5

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

For a 15-parameter mutation tool with no annotations, the description is far too thin: it omits the auto_install/installer_type interplay, session handling, and lab/network scoping that the parameters imply. The output schema covers return values, but the operational context an agent needs before invoking is largely absent.

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 all 15 parameters including auto_install, installer_type, and session_token. The description mentions none of them and adds no syntax, defaults, or interaction rules, so baseline 3 applies.

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 ("Create a VM from a built image") and adds the notable detail that the VM is created and started. It does not distinguish this from siblings like ensure_tester_vm, create_lab, or create_build, so an agent cannot fully disambiguate on the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusions, and no comparison to any alternative tool. The phrase "from a built image" hints that a prior build is required, but the agent is left to infer prerequisites and the choice between this and ensure_tester_vm.

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.