Skip to main content
Glama

proxmox_create_container

Create a new LXC container on a Proxmox node with sensible defaults and optional CPU, memory, storage, network, and startup settings; confirm:true is required to write.

Instructions

Create a new LXC container on a node (POST /nodes/{node}/lxc) with sensible defaults (storage local-lvm, 512MiB, 1 core, 8GB rootfs, DHCP net). Tier-2 write; requires confirm:true.

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": {
      "vmid": "<vmid>",
      "hostname": "<hostname>",
      "ostemplate": "<ostemplate>",
      "confirm": "<confirm>"
    },
    "name": "proxmox_create_container"
  }
}

Input Schema

NameRequiredDescriptionDefault
netNoNetwork config for net0 (default 'name=eth0,bridge=vmbr0,ip=dhcp').
nodeNoNode to create on (defaults to first node).
poolNoOptional resource pool ID to place the container into.
tagsNoOptional semicolon-delimited Proxmox tags.
vmidYesVMID for the new container.
waitNoBlock until the task finishes and include its exit status in the result.
coresNoCPU cores (default 1).
startNoStart after create (default false).
memoryNoMemory in MiB (default 512).
onbootNoStart container on host boot (default false).
confirmYesMust be true to write. Tier-2 safe-write gate.
storageNoRoot storage (default 'local-lvm').
featuresNoOptional LXC features string, e.g. 'nesting=1'.
hostnameYesContainer hostname.
passwordNoRoot password (optional).
ostemplateYesOS template volid (e.g. 'local:vztmpl/ubuntu-24.04-standard_*.tar.zst').
protectionNoEnable Proxmox protection flag (default false).
descriptionNoOptional container description.
rootfs_sizeNoRoot filesystem size in GB (default '8').
unprivilegedNoCreate an unprivileged container (default true).
wait_timeoutNoMax seconds to wait when wait:true (default 120).
ssh_public_keysNoSSH public keys (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write-but-not-destructive profile is known. The description adds valuable context beyond that: the safe-write confirm gate and the concrete default envelope that applies when optional parameters are omitted. It does not cover what happens on failure, whether the call returns a task/UPID, or how wait interacts with wait_timeout.

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?

One dense, well front-loaded sentence: verb+resource, endpoint, defaults, then the write gate. Nothing is wasted, though the parenthetical defaults list is a compressed run-on that is easy to skim past.

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 22-parameter mutation with no output schema, the definition covers the two things an agent most needs — the default envelope and the confirm requirement. It stops short of describing the return value (task ID vs immediate result) or failure behavior, which matters for a tool that also offers a blocking wait parameter.

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 all 22 parameters are already documented in the schema; baseline is 3. The description restates five of those defaults (local-lvm, 512MiB, 1 core, 8GB, DHCP net) rather than adding new semantics, so it is a useful summary but not incremental meaning.

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 and resource ('Create a new LXC container') plus the exact API endpoint, and the 'LXC container' framing inherently separates it from proxmox_create_vm or proxmox_clone_resource. An agent knows exactly what this produces without opening 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 Guidelines3/5

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

The 'Tier-2 write; requires confirm:true' note gives a clear precondition for calling, but there is no guidance on when to create versus clone from a template (proxmox_clone_resource) or convert to template. Usage is implied by the tool name rather than reasoned about explicitly.

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