Skip to main content
Glama

set_vm_cloudinit

Update a QEMU VM's Cloud-init settings on Proxmox, including user, password, SSH keys, and IP configuration, to provision VMs with the right access and network setup at boot.

Instructions

Update Cloud-init configuration for a QEMU VM.

Args: node: Node name vmid: VM ID ciuser: Cloud-init user cipassword: Cloud-init password sshkeys: SSH public keys ipconfig0: IP configuration (e.g. ip=dhcp or ip=10.0.0.2/24,gw=10.0.0.1)

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": {
      "node": "<node>",
      "vmid": "<vmid>"
    },
    "name": "set_vm_cloudinit"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYes
vmidYes
ciuserNo
sshkeysNo
confirmedNo
ipconfig0No
cipasswordNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and leaves out key facts: this is a mutation that overwrites existing cloud-init values, it likely needs specific permissions, and it doesn't say whether the VM must be running or stopped. Most tellingly, a `confirmed` boolean parameter is visible in the schema but never mentioned in the description, so a likely safety or confirmation step stays hidden.

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 summary sentence comes first, followed by a short parameter list. There is no padding. The docstring-style Args block is readable and appropriate for the size.

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?

For a 7-parameter mutation tool with no annotations and no output schema, the definition does the minimum: it states the purpose and describes most inputs. It omits the confirmation semantics, the preconditions, and any statement of effect on existing configuration, so it is not complete enough to guarantee a correct call.

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 coverage is 0% (titles only), so the description must explain the parameters and it covers 6 of the 7, with real added value in the ipconfig0 example format ("ip=dhcp or ip=10.0.0.2/24,gw=10.0.0.1"). It never defines `confirmed`, the one parameter whose meaning is least obvious and most important. Partial compensation warrants a 3.

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: "Update Cloud-init configuration for a QEMU VM." That clearly separates it from siblings like create_vm, get_instance_config, or delete_instance. It stops short of naming an alternative, but the domain is unambiguous.

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 says nothing about when to use this versus get_instance_config or create_vm, and nothing about prerequisites such as whether the VM must be stopped first, whether cloud-init must already be configured, or whether existing values are overwritten. Only the implied "update settings" context is present.

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