Skip to main content
Glama

create_lxc

Provisions a new Linux Container (LXC) on Proxmox VE, specifying template, storage, network, and resource parameters for container deployment.

Instructions

Create a new Linux Container (LXC).

Args: node: Target node name vmid: Unique ID for the new LXC ostemplate: Path to template (e.g., local:vztmpl/ubuntu...) storage: Target storage for rootfs (e.g., local-lvm) password: Root password net0: Network config disk: Disk size in GB memory: Memory in MB cores: CPU cores hostname: Hostname for the container ssh_public_keys: Public SSH keys (newline separated)

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>",
      "ostemplate": "<ostemplate>",
      "storage": "<storage>",
      "password": "<password>",
      "net0": "<net0>"
    },
    "name": "create_lxc"
  }
}

Input Schema

NameRequiredDescriptionDefault
diskNo
net0Yes
nodeYes
vmidYes
coresNo
memoryNo
storageYes
hostnameNo
passwordYes
confirmedNo
ostemplateYes
ssh_public_keysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutating, resource-allocating operation. It says nothing about permissions required, whether the call blocks until the container is provisioned, what happens if vmid collides, or what the response contains — and it never mentions the 'confirmed' flag present in the schema.

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?

It is a raw docstring Args dump — no wasted prose, but also no front-loaded structure beyond the one-line purpose. The bulk of the text is parameter documentation that a reader must scan linearly rather than guidance that shapes a decision.

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 12-parameter mutation tool with no annotations and no output schema, the description covers most inputs but omits the 'confirmed' flag and any behavioral or failure-mode context. An agent could build a valid call, but not reason about side effects or confirmation requirements.

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

Parameters4/5

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

Schema description coverage is 0% (only bare titles), so the description does real work: it gives units for disk (GB) and memory (MB), format examples for ostemplate ('local:vztmpl/ubuntu...') and storage ('local-lvm'), and clarifies that ssh_public_keys is newline separated. Only the 'confirmed' parameter is left undocumented.

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 new Linux Container (LXC)') so the agent knows exactly what the tool provisions. It does not distinguish itself from the sibling create_vm, which is the main ambiguity an agent would face when choosing between container and VM creation.

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 at all — nothing says when to pick create_lxc over create_vm, nor what prerequisites must hold (node online, ostemplate already present on storage, vmid not already taken). The argument list implies what inputs are needed but gives no invocation context.

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