Skip to main content
Glama

create_vm

Create a Proxmox QEMU virtual machine by specifying node, VM ID, CPU, memory, storage, network, and boot options. Configure OS type, BIOS, and start settings to provision a VM ready for use.

Instructions

Create a new QEMU virtual machine.

Args: node: The node name. vmid: The VM ID number. name: VM name. memory: Memory in MB (default 2048). cores: Number of CPU cores per socket (default 1). sockets: Number of CPU sockets (default 1). cpu: CPU type (default 'host'). ostype: OS type: l26 (Linux 2.6+), win10, win11, wxp, other, etc. scsihw: SCSI controller: virtio-scsi-single, virtio-scsi-pci, lsi, megasas, pvscsi. scsi0: First SCSI disk (e.g. 'local-lvm:32' for 32GB on local-lvm). ide2: IDE device, often used for CD-ROM (e.g. 'local:iso/ubuntu.iso,media=cdrom'). net0: Network device (e.g. 'virtio,bridge=vmbr0'). boot: Boot order, for example scsi0 then ide2 then net0. bios: BIOS type: seabios, ovmf (UEFI). machine: Machine type (e.g. 'q35', 'i440fx'). cdrom: CD-ROM ISO image path. agent: QEMU guest agent: '1' to enable, 'enabled=1,fstrim_cloned_disks=1'. start: Start the VM after creation. onboot: Start on host boot. description: VM description. pool: Resource pool to add the VM to. tags: Tags for the VM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cpuNohost
biosNoseabios
bootNo
ide2No
nameNo
net0No
nodeYes
poolNo
tagsNo
vmidYes
agentNo
cdromNo
coresNo
scsi0No
startNo
memoryNo
onbootNo
ostypeNol26
scsihwNovirtio-scsi-single
machineNo
socketsNo
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden of disclosing behavior. It states the mutating nature of the tool, and it does reveal post-creation behaviors like whether the VM starts immediately (start) and whether it boots on host startup (onboot). However, it does not mention permissions, idempotency, side effects on the node, or failure semantics, which are relevant for a creation operation.

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?

The description is long but well-structured as an Args list with one line per parameter. It front-loads the core purpose sentence and keeps each parameter entry terse. Some repetition of schema defaults could be trimmed, but for a 22-parameter tool the format is efficient and scannable.

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?

Given the tool's complexity and the absence of annotations, the description is largely complete for constructing a VM creation request: it covers required fields, optional settings, defaults, and value formats. It falls short only in usage context and operational expectations, such as what happens after creation beyond the start/onboot flags, but the presence of an output schema reduces the need to explain return values.

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

Parameters5/5

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

The input schema has 0% description coverage, but the description compensates thoroughly by documenting all 22 parameters. It adds meaningful format context that the schema lacks, such as 'local-lvm:32' for scsi0, 'virtio,bridge=vmbr0' for net0, and acceptable values for ostype and scsihw. This is essential for an agent to construct valid calls.

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?

The description opens with 'Create a new QEMU virtual machine', which clearly identifies the verb, resource, and system involved. This distinguishes it from related tools like create_container, start_vm, and update_vm_config without requiring the reader to inspect the schema.

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?

The description provides no guidance on when to use create_vm versus alternatives such as create_container, clone_vm, or update_vm_config. It also does not mention prerequisites like an existing node or storage allocation, so an agent must infer usage context entirely from the tool name.

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

Deploy Server

Other Tools