Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

manage_wireguard_peer_allowed_ip

Add or remove an allowed IP address for a WireGuard peer on pfSense, with optional immediate apply and confirmation for deletions.

Instructions

Add or remove an allowed IP for a WireGuard peer

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descrNoOptional description (used for create)
actionYesAction to perform ('create' or 'delete')
addressNoIP address/subnet to allow (required for create, e.g., '10.0.0.0/24')
confirmNoMust be set to True for delete operations. Safety gate for destructive operations.
peer_idYesParent peer ID the allowed IP belongs to
allowed_ip_idNoAllowed IP ID (required for delete)
apply_immediatelyNoWhether to apply changes immediately

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior1/5

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

The description says it removes an allowed IP (a destructive operation) while the annotations set destructiveHint to false. This is a direct contradiction, and the description adds no further behavioral context beyond the fact of add/remove. No mention of the confirm safety gate or apply behavior.

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, front-loaded sentence with no filler. It immediately states the verb and resource, fitting the ideal compact description.

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?

With 7 parameters and an output schema, the description is too minimal. It omits critical operational details like the mandatory confirm=true for delete operations, and does not mention how changes are applied (apply_immediately or separate apply_wireguard_changes). The annotation contradiction further undermines 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?

The input schema already provides 100% descriptive coverage for all 7 parameters, including the action values, required IDs, and the confirm gate. The description only reiterates the high-level operation and does not add parameter-level detail, so baseline 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 'Add or remove an allowed IP for a WireGuard peer' uses a specific verb pair (add/remove) and names the exact resource (allowed IP for a WireGuard peer). It clearly distinguishes from sibling tools like search_wireguard_peer_allowed_ips and manage_wireguard_tunnel_address.

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

Usage Guidelines3/5

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

The description implies the tool is for modifying allowed IPs, but it does not explicitly state when to use it versus alternatives like search_wireguard_peer_allowed_ips. It gives a clear context for the operation but lacks exclusions or alternative guidance.

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