Skip to main content
Glama
itunified-io

mcp-opnsense

by itunified-io

opnsense_fw_drift_check

Audits firewall filter rules against a required description format (e.g., issue references) and identifies rules with empty or non-matching descriptions.

Instructions

Audit firewall filter rules for description hygiene. Returns rules whose description does not match the given regex (default: '^#\d+:' — issue-reference prefix) and rules with empty descriptions. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
description_prefix_regexNoRegex that rule descriptions MUST match (default: '^#\d+:' — requires a GitHub issue reference like '#361: ...')
categoryNoOptional category name to restrict the audit to rules in that category (exact match)
Behavior4/5

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

With no annotations, the description carries full burden. It explicitly says 'Read-only' and explains the matching logic and default regex, providing essential behavioral context beyond the input schema.

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 concise sentences that front-load purpose and detail return conditions without fluff. Every sentence earns its place.

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?

No output schema exists, so description should specify return format more clearly. It says 'returns rules' but does not indicate if it returns rule IDs, names, categories, etc. Slightly incomplete for full contextual completeness.

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 coverage is 100%, so description adds limited value. It explains the default regex pattern for description_prefix_regex, but category parameter is not elaborated beyond schema. This is adequate but not outstanding.

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?

Description clearly states the verb 'audit' and resource 'firewall filter rules' for description hygiene. It distinguishes from sibling fw tools like opnsense_fw_list_rules by focusing on checking description compliance with a regex.

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?

Describes what the tool returns (non-matching and empty descriptions) and is read-only, giving clear context. However, it does not explicitly exclude scenarios or mention alternatives when other fw tools might be more appropriate.

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/itunified-io/mcp-opnsense'

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