Skip to main content
Glama

proxmox_update_container_config

Destructive

Edit an existing Proxmox LXC container's config to change CPU cores, memory, swap, hostname, DNS, tags, or other keys, with optional key removal; writes require confirm:true.

Instructions

Edit an existing LXC container's config (PUT /nodes/{node}/lxc/{vmid}/config): cores, memory, swap, hostname, nameserver, description, onboot, tags, plus arbitrary keys via set and key removal via unset. 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>",
      "confirm": "<confirm>"
    },
    "name": "proxmox_update_container_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
setNoArbitrary PVE config keys to set, e.g. {"net0":"virtio,bridge=vmbr0","bios":"ovmf"}. Escape hatch for keys not exposed as typed fields.
swapNoSwap in MiB.
tagsNoSemicolon-delimited Proxmox tags.
vmidYesLXC container ID to reconfigure.
coresNoCPU cores.
unsetNoConfig keys to unset/revert to default, e.g. ["tags","description"].
digestNoSHA1 config digest for optimistic concurrency; edit is rejected if config changed.
memoryNoRAM in MiB.
onbootNoStart on host boot.
confirmYesMust be true to write. Tier-2 safe-write gate.
cpulimitNoCPU limit (0 = unlimited).
cpuunitsNoCPU weight / shares.
hostnameNoContainer hostname.
nameserverNoDNS server IP(s), space-separated.
protectionNoProtection flag (blocks destroy/disk-remove).
descriptionNoFree-form description / notes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), the description adds real behavioral context: the PUT endpoint, the "Tier-2 write" classification, the confirm:true gate, and the set/unset escape hatches for arbitrary keys and key reversion. It does not explain what is at risk when a key is unset or how the protection flag interacts with edits, which keeps it from a 5.

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?

Two compact sentences, front-loaded with the action, target, and endpoint, followed by the gating constraint. The field enumeration is slightly long but each item maps to a real parameter, so little is wasted.

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?

For a 16-parameter mutation tool with no output schema but with annotations present, the description covers purpose, the write gate, and the two flexible escape-hatch parameters well. Missing details about digest-based optimistic concurrency and revert semantics for `unset` are minor since the schema documents them.

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 the schema already documents every parameter including set, unset, digest, and confirm. The description adds only a light gloss — that `set` takes arbitrary keys and `unset` removes them — which the schema itself also states, so it lands at the baseline for a fully documented schema.

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?

The description names a specific verb and resource ("Edit an existing LXC container's config") and even gives the underlying endpoint (PUT /nodes/{node}/lxc/{vmid}/config), plus an enumerated set of editable fields. The LXC qualifier implicitly separates it from proxmox_update_vm_config, but no sibling is named explicitly, so it stops short of a 5.

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?

It establishes context — editing an existing container rather than creating one — and states the confirm:true prerequisite for a "Tier-2 write." There is no explicit when-not guidance and no routing to alternatives such as proxmox_update_vm_config for VMs or proxmox_get_container_config for reads, so usage is implied rather than spelled out.

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