Skip to main content
Glama
Bldg-7

Proxmox MCP Server

by Bldg-7

Guest Firewall Rules

proxmox_guest_firewall_rule
Destructive

Manage per-guest firewall rules for VMs and LXC containers, enabling listing, creation, update, and deletion of rules with direction and action control.

Instructions

Manage per-guest firewall rules. action=list|get: query rules | action=create|update|delete: manage rules (elevated). type=vm|lxc. Uses rule_action for firewall action (ACCEPT/REJECT/DROP), rule_type for direction (in/out/group).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logNo
posNoRule position
destNo
nodeYesNode name where guest is located
typeYesGuest type (vm or lxc)
vmidYesGuest ID number
dportNo
ifaceNo
macroNo
protoNo
sportNo
actionYes
deleteNo
digestNo
enableNo
movetoNo
sourceNo
commentNo
rule_typeNoRule direction
rule_actionNoRule action (ACCEPT, REJECT, DROP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0
  2. Removedv1.2.2
  3. First observedv1.2.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, and the description adds that create/update/delete operations are 'elevated' while list/get are queries. This usefully distinguishes safe read actions from privileged write actions. It does not detail specific privilege requirements or side effects, but the annotation coverage lowers the burden.

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?

Two compact sentences front-load the purpose and pack the action semantics efficiently using pipe-grouped clauses. Every phrase earns its place, with no filler or repetition of schema details.

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?

The action dispatcher and key enums are covered well, which is essential for this composite tool. However, with 20 parameters and no output schema, the description leaves meaningful gaps: it does not explain how update/delete identify a target rule (e.g., via pos or delete) or what list/get return. An agent may still need to guess when invoking certain actions.

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 only 30%, so the description must compensate. It does add valuable disambiguation for action, type, rule_action, and rule_type, especially separating the CRUD action from the firewall action. However, many parameters such as source, dest, proto, dport, sport, delete, pos, moveto, and enable remain unexplained, so the compensation is only partial.

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 ('Manage') and precise resource ('per-guest firewall rules'), which clearly distinguishes it from sibling cluster-level firewall tools. The action breakdown (query vs. manage) further clarifies what the tool does. No tautology or vagueness.

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: this is for per-guest rules, and action values are split into query (list/get) vs. management (create/update/delete). It does not explicitly name alternatives like proxmox_cluster_firewall_rule or state when not to use the tool, so the routing decision is partly left to inference.

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