Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

create_nat_outbound_mapping

Create an outbound NAT mapping on a pfSense firewall to translate source traffic from a specific network via an interface, with options for target IP, ports, protocol, and immediate application.

Instructions

Create an outbound NAT mapping

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descrNoOptional description
sourceYesSource network/address (e.g., "192.168.1.0/24", "any")
targetNoTranslation target type
dstportNoDestination port or port range
disabledNoWhether the mapping starts disabled
pooloptsNoPool options for multiple addresses (round-robin, etc.)
protocolNoProtocol (tcp, udp, tcp/udp, etc.)
targetipNoTranslation target IP address
interfaceYesInterface for the mapping (wan, lan, opt1, etc.)
sourceportNoSource port or port range
destinationNoDestination network/address
targetip_subnetNoTranslation target subnet mask
apply_immediatelyNoWhether to apply changes immediately

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With annotations already indicating readOnlyHint=false and destructiveHint=false, the description adds no behavioral transparency beyond what is stated. It does not disclose whether the mapping takes effect immediately, how conflicts are handled, or any required permissions, despite the schema containing an apply_immediately parameter.

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 a single sentence with no superfluous words, making it concise and front-loaded. While it is terse for a tool with many parameters, the schema compensates, and there is no bloat to penalize.

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?

Given the tool's complexity (13 parameters) and the presence of an output schema, the description provides only minimal context. It identifies the creation action but omits typical use cases, prerequisites, or operational notes, though the schema and annotations partially cover the gap.

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 input schema provides thorough descriptions for all 13 parameters (100% coverage), so the description is not required to explain parameters. The description itself adds no additional meaning beyond the schema, matching the baseline for full schema coverage.

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 an outbound NAT mapping' clearly identifies the action (create) and the specific resource (outbound NAT mapping). This distinguishes it from sibling tools like create_nat_port_forward and create_nat_onetoone_mapping by the explicit 'outbound' 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 offers no guidance on when to use this tool versus related tools such as create_nat_port_forward or create_nat_onetoone_mapping. There are no mentions of prerequisites, alternatives, or exclusions, leaving the agent to infer usage from the name alone.

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