Skip to main content
Glama

create_container_firewall_rule

Create a firewall rule for a container by specifying the node, VM ID, and rule string, with an optional position, to manage traffic filtering in Proxmox.

Instructions

Create a firewall rule for a container

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
posNoPosition for the rule (optional)
nodeYesNode where container is located
ruleYesFirewall rule (e.g., 'in,REJECT,22/tcp' or 'out,ACCEPT,any,any')
vmidYesContainer ID
Behavior2/5

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

No annotations are provided, so the description must disclose behavior. It only says 'Create a firewall rule' and does not mention side effects, whether the rule is appended or replaces existing rules, validation behavior, permissions required, or what the response contains. This is a significant gap for a mutating operation.

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?

The description is a single clear sentence with zero wasted words. It includes the verb, resource, and target without redundancy. It earns its place entirely and is appropriately concise for the tool's simplicity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a create/mutation operation with no annotations and no output schema. The description lacks essential context such as the need to enable the container firewall first, potential failure modes, or the effect of the 'pos' parameter on rule ordering. The schema covers parameters but the overall use context is incomplete.

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 the schema already documents all four parameters with meaningful descriptions (e.g., rule examples). The description adds no additional parameter meaning beyond what is in the schema, so the baseline of 3 is appropriate.

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 'Create a firewall rule for a container' uses a specific verb (Create) and resource (firewall rule) with a clear target (container). It distinguishes from sibling tools like list_container_firewall_rules and delete_container_firewall_rule, and from create_vm_firewall_rule via the container qualifier.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, no prerequisites (e.g., firewall must be enabled first via enable_container_firewall), and no exclusion criteria. It merely states the action without context.

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/jskoetsier/proxmox-mcp-server'

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