Skip to main content
Glama

create_container

Provision a new LXC container on a Proxmox node with specified template, resources, and network settings.

Instructions

Create a new LXC container.

Args: node: The node name. vmid: The container ID. ostemplate: Template volume (e.g. 'local:vztmpl/debian-12-standard_12.2-1_amd64.tar.zst'). hostname: Container hostname. password: Root password. ssh_public_keys: SSH public keys (newline delimited). storage: Storage for rootfs (default 'local'). rootfs: Root filesystem spec (e.g. 'local-lvm:8' for 8GB). memory: Memory in MB (default 512). swap: Swap in MB (default 512). cores: CPU cores (default 1). cpulimit: CPU limit (0 = unlimited). net0: Network config (e.g. 'name=eth0,bridge=vmbr0,ip=dhcp'). nameserver: DNS nameserver. searchdomain: DNS search domain. onboot: Start on host boot. start: Start after creation. unprivileged: Create an unprivileged container (default True, recommended). features: Comma-separated features (e.g. 'nesting=1,keyctl=1'). description: Container description. pool: Resource pool. tags: Semicolon-separated tags. mp0: Mount point (e.g. 'local-lvm:4,mp=/mnt/data').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeYes
vmidYes
ostemplateYes
hostnameNo
passwordNo
ssh_public_keysNo
storageNolocal
rootfsNo
memoryNo
swapNo
coresNo
cpulimitNo
net0No
nameserverNo
searchdomainNo
onbootNo
startNo
unprivilegedNo
featuresNo
descriptionNo
poolNo
tagsNo
mp0No

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. However, it only states 'Create a new LXC container' and lists parameters, omitting details like required permissions, side effects (e.g., container start behavior), or potential failures.

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 front-loaded with a clear purpose sentence, followed by a structured parameter list. While lengthy due to the number of parameters (23), it is organized and avoids unnecessary elaboration, making it reasonably concise for a complex tool.

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?

Given the high parameter count, lack of annotations, and presence of an output schema (not described), the description is incomplete. It fails to mention return values, error conditions, or behavioral context like privilege requirements, leaving significant gaps for a creation tool.

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 0%, meaning the schema has no parameter descriptions. The description adds some value by providing examples for parameters like ostemplate, rootfs, net0, etc. However, many entries simply repeat the parameter name (e.g., 'node: The node name'), adding minimal semantic value beyond the schema.

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 starts with 'Create a new LXC container,' which is a specific verb and resource. This clearly differentiates it from sibling tools like 'create_vm' (for VMs) and 'clone_container' (cloning), establishing a distinct purpose.

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 this tool versus alternatives (e.g., clone_container or create_vm) or any prerequisites. It only lists parameters, leaving the agent without context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GethosTheWalrus/proxmox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server