Skip to main content
Glama

proxmox_set_firewall_enabled

DestructiveIdempotent

Enable or disable the Proxmox VE firewall at cluster, node, or guest scope; use the cluster-level switch to gate all scopes and confirm writes.

Instructions

Enable or disable the firewall at the cluster, node, or guest scope (PUT {base}/firewall/options with enable). Note: the cluster-level switch gates all others. 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": {
      "scope": "<scope>",
      "enable": "<enable>",
      "confirm": "<confirm>"
    },
    "name": "proxmox_set_firewall_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeNoNode name (required when scope='node').
vmidNoGuest VMID (required when scope='guest').
scopeYesFirewall scope: 'cluster', 'node' (needs node), or 'guest' (needs vmid).
enableYesTurn the firewall on (true) or off (false) for this scope.
confirmYesMust be true to write. Tier-2 safe-write gate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description contributes real value beyond that by disclosing the cluster-overrides-all gating behavior and the confirm:true gate. However, it says nothing about what turning the firewall off exposes, whether the change is immediate, or what happens to per-scope settings already configured.

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?

Compact and front-loaded: the action and scopes come first, followed by the precedence caveat and the confirm requirement. The parenthetical API endpoint plus confirm note pack in useful detail without padding, though the endpoint syntax is arguably irrelevant to tool selection.

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 five-parameter mutation tool with full schema coverage and annotations, the description supplies the missing operational knowledge: the scope hierarchy, the gating relationship, and the tier-2 confirm gate. With no output schema, it does not describe the return value, but the boolean enable state is self-evident.

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 coverage is 100%, so all five parameters are already documented in the schema, including the node/vmid scope dependencies. The description restates the scope options and the confirm requirement but adds no syntax or format detail beyond what the schema gives, so the baseline 3 applies.

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 pair (enable/disable) and resource (firewall) plus the three supported scopes, and even names the underlying API call (PUT {base}/firewall/options with enable). An agent can separate this from rule-level siblings like proxmox_add_firewall_rule 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 Guidelines4/5

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

Gives clear context for use: enabling/disabling at cluster, node, or guest scope, and a critical precedence note that the cluster-level switch gates all others. It stops short of explicitly naming an alternative (e.g., get_firewall_options to inspect state first), so a 4 rather than a 5.

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