Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

apply_nat_changes

Idempotent

Apply pending pfSense NAT changes after configuration updates. Use to batch-apply outbound mappings and mode adjustments when immediate application was not selected.

Instructions

Apply pending NAT changes (outbound mappings, mode changes)

Use this after making changes with apply_immediately=False to batch-apply them. This shares the firewall apply endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already convey idempotency and non-destructiveness. The description adds that it batches pending changes and shares the firewall apply endpoint, which is useful context but doesn't elaborate on potential side effects or endpoint behavior. It adds some value beyond the annotations but lacks depth, so a mid-range score is appropriate.

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 two tightly packed sentences: the purpose and the usage context, plus a note about the shared endpoint. It is front-loaded with the essential action, and every sentence earns its place with no redundancy or filler.

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

Completeness4/5

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

For a zero-parameter apply tool with an output schema and good annotations, this description covers the core purpose, when to use it, and a relevant technical detail. It doesn't mention edge cases like no pending changes or potential errors, but given the tool's simplicity, it is reasonably complete.

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?

The input schema has zero parameters, and the schema description coverage is effectively 100% (vacuously). Per rubric, a zero-parameter tool receives a baseline of 4, and the description doesn't need to explain params. It adds no parameter info, but none is needed.

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 states a specific verb (Apply) and resource (pending NAT changes), with the parenthetical 'outbound mappings, mode changes' narrowing the scope. This clearly distinguishes it from sibling tool apply_nat_onetoone_changes, which handles one-to-one NAT. The action is unambiguous.

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?

It provides explicit guidance: 'Use this after making changes with apply_immediately=False to batch-apply them.' This sets a clear precondition. However, it does not explicitly mention alternatives or when-not-to-use cases, only implying scope via the parenthetical, so it stops short of a 5.

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/gensecaihq/pfsense-mcp-server'

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