Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

update_wireguard_tunnel

Idempotent

Modify an existing WireGuard tunnel using its ID, adjusting fields such as name, MTU, listen port, enabled flag, and private key, with option to apply changes immediately.

Instructions

Update an existing WireGuard tunnel by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mtuNoMTU for the tunnel interface
nameNoTunnel interface name
descrNoDescription
enabledNoWhether the tunnel is enabled
tunnel_idYesTunnel ID (from search_wireguard_tunnels)
listenportNoUDP listen port
privatekeyNoWireGuard private key
apply_immediatelyNoWhether to apply changes immediately

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 readOnlyHint=false, idempotentHint=true, destructiveHint=false, and the description is consistent. However, it does not disclose that changes may require a separate apply step (e.g., apply_wireguard_changes) or explain the effect of apply_immediately.

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 concise sentence, front-loaded with the action and target. No wasted words.

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?

The description is minimal and lacks update workflow context, such as whether only provided fields are updated or if changes need to be applied separately. Despite rich schema and output schema, the description leaves ambiguity.

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 description coverage is 100%, with every parameter documented. The description adds no parameter-level meaning beyond what the schema already provides.

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 clearly states 'Update an existing WireGuard tunnel by ID', using a specific verb and resource. It distinguishes itself from create/delete/search siblings by specifying the operation and target.

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 use for modifying an existing tunnel but does not provide explicit when-to-use vs alternatives. It lacks mention of prerequisites like obtaining the I/D from search_wireguard_tunnels or differentiating from update_wireguard_peer.

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