Skip to main content
Glama

proxmox_add_ha_resource

Adds a VM or container to Proxmox VE high-availability management by creating a cluster HA resource; requires confirm:true for the write.

Instructions

Place a VM or container under HA management (POST /cluster/ha/resources). Only meaningful on a quorate multi-node cluster. 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": {
      "sid": "<sid>",
      "confirm": "<confirm>"
    },
    "name": "proxmox_add_ha_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
sidYesHA resource id, 'vm:<vmid>' or 'ct:<vmid>'.
stateNoRequested HA state (default 'started').
commentNoComment.
confirmYesMust be true to write. Tier-2 safe-write gate.
max_restartNoMax restart attempts on the same node.
max_relocateNoMax relocation attempts to other nodes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, non-destructive write, and the description adds genuinely new behavior: it is classified 'Tier-2' and requires confirm:true as a safety gate, plus a cluster-quorum prerequisite. It stops short of describing idempotency or what happens if the sid already exists, which would be the remaining valuable detail for a write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short clauses: the action and endpoint first, then the environmental precondition, then the safety gate. Every clause carries distinct operational information and nothing is redundant.

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 6-parameter write tool with no output schema, the description covers the action, the prerequisite, and the confirm gate, which is enough to call it correctly. Slightly incomplete in not mentioning failure modes or that confirm must be true or the call will be rejected with an error rather than silently ignored.

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 sid format ('vm:<vmid>'/'ct:<vmid>'), state values, and the confirm gate are already fully documented in the schema. The description only restates the confirm:true requirement and adds no new meaning about the remaining parameters, so the baseline of 3 applies.

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 uses a specific verb phrase ('Place a VM or container under HA management') and even names the underlying endpoint (POST /cluster/ha/resources), so there is no ambiguity about what changes. It is implicitly distinct from proxmox_delete_ha_resource, but it never explicitly contrasts with any sibling, keeping it just 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 Guidelines4/5

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

It supplies a real precondition: 'Only meaningful on a quorate multi-node cluster,' which tells an agent when this call will fail or be pointless. It gives no explicit alternative or when-not-to-use guidance beyond that cluster requirement, so it is clear context without exclusions.

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