Skip to main content
Glama

create_container_firewall_rule

Create a firewall rule for a Proxmox LXC container, specifying action, type, source, destination, protocol, and port to control network traffic.

Instructions

Create a firewall rule for an LXC container.

Args: node: The node name. vmid: The container 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. The description does not disclose behavioral traits such as whether the rule is appended to a list, if existing rules are affected, or if specific permissions are required. It only describes the creation action without side effects.

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 concise, starting with a one-line purpose followed by a numbered parameter list. It could be more structured (e.g., grouping parameters), but it efficiently conveys necessary information without redundancy.

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 description thoroughly covers parameter semantics but lacks information about the output (despite an output schema existing), error conditions, or post-creation behavior. It is adequate for parameter documentation but incomplete for general usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description adds substantial value by explaining each parameter (e.g., action values, type options, enable meaning). It compensates fully for the lack of schema descriptions.

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 the action and resource: 'Create a firewall rule for an LXC container.' This clearly distinguishes it from sibling tools like create_cluster_firewall_rule and create_vm_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?

The description lists parameters but provides no explicit guidance on when to use this tool versus alternatives like create_cluster_firewall_rule or create_vm_firewall_rule. Usage context is only implied by the tool name and type field.

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