Skip to main content
Glama

create_vm_firewall_rule

Create a firewall rule for a Proxmox VM, specifying action (ACCEPT, DROP, REJECT), direction (in/out), source, destination, protocol, and port.

Instructions

Create a firewall rule for a QEMU VM.

Args: node: The node name. vmid: The VM ID. action: 'ACCEPT', 'DROP', 'REJECT'. type: 'in', 'out', 'group'. enable: 1 = enabled, 0 = disabled. source: Source CIDR or alias. dest: Destination CIDR or alias. proto: Protocol. dport: Destination port(s). macro: Predefined macro. comment: Description.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeYes
vmidYes
actionYes
typeYes
enableNo
sourceNo
destNo
protoNo
dportNo
macroNo
commentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. However, it only lists parameter meanings without explaining side effects (e.g., whether the rule is applied immediately, if it requires specific permissions, or how it interacts with existing rules). The description lacks crucial behavioral context.

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?

The description is a structured bullet list with clear line-per-parameter formatting, and the purpose sentence is front-loaded. It is reasonably concise, though each parameter explanation could be more terse without losing information.

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?

Given the tool's complexity (11 parameters, 4 required) and the presence of an output schema (not shown in description), the description covers parameter meanings but misses behavioral context, return value hints, and usage examples. It is adequate but not comprehensive.

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?

With 0% schema description coverage, the description adds significant meaning by explaining each parameter (e.g., action: 'ACCEPT', 'DROP', 'REJECT'; type: 'in', 'out', 'group'). However, explanations are brief and lack constraints like valid formats for dport or the difference between source and dest when using macros.

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?

The description explicitly states 'Create a firewall rule for a QEMU VM,' clearly indicating the verb (create), resource (firewall rule), and context (QEMU VM). This distinguishes it from sibling tools like create_cluster_firewall_rule or create_container_firewall_rule.

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?

While the description implies usage for QEMU VMs via its wording, it provides no explicit guidance on when to use this tool versus alternatives (e.g., for containers or clusters). There is no mention of prerequisites, when not to use it, or alternative tool names.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GethosTheWalrus/proxmox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server