Skip to main content
Glama
vespo92

OPNSense MCP Server

create_firewall_rule

Define new firewall rules on OPNSense by specifying action, interface, direction, protocol, source, and destination. Configure traffic control for enhanced network security and management.

Instructions

Create a new firewall rule

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesRule action (pass/block/reject)
descriptionNoRule description
destinationYesDestination address/network or "any"
destinationPortNoDestination port (for TCP/UDP)
directionYesTraffic direction
enabledNoEnable rule
interfaceYesInterface name
protocolYesProtocol (any/tcp/udp/icmp)
sourceYesSource address/network or "any"
sourcePortNoSource port (for TCP/UDP)
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Create a new firewall rule' implies a write/mutation operation but doesn't specify whether this requires admin permissions, whether rules take effect immediately, if there are rate limits, or what happens on failure. For a security-critical mutation tool, this is insufficient 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is maximally concise at just four words, front-loading the essential information with zero wasted words. Every element earns its place, making it easy to parse while conveying the core purpose.

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?

For a firewall rule creation tool with 10 parameters, no annotations, and no output schema, the description is incomplete. It doesn't address security implications, permission requirements, typical workflows, or what the tool returns. The agent must rely entirely on the input schema without higher-level guidance about this critical infrastructure operation.

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?

The description adds no parameter information beyond what's already in the schema, which has 100% coverage with detailed descriptions for all 10 parameters. The baseline score of 3 reflects adequate parameter documentation through the schema alone, though the description could have provided higher-level context about parameter relationships or constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('create') and resource ('firewall rule'), making the purpose immediately understandable. However, it doesn't distinguish this tool from its sibling 'create_firewall_preset' or explain how it differs from 'update_firewall_rule', which prevents a perfect score.

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 like 'create_firewall_preset', 'update_firewall_rule', or 'delete_firewall_rule'. It also doesn't mention prerequisites, dependencies, or typical use cases for firewall rule creation.

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

Related 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/vespo92/OPNSenseMCP'

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