Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

update_wireguard_peer

Idempotent

Update an existing WireGuard peer by ID to modify settings like endpoint, port, keys, keepalive, and enabled state, with optional immediate application.

Instructions

Update an existing WireGuard peer by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tunNoParent tunnel name (upstream references the tunnel by name)
portNoPeer endpoint port
descrNoDescription
enabledNoWhether the peer is enabled
peer_idYesPeer ID (from search_wireguard_peers)
endpointNoPeer endpoint hostname or IP
keepaliveNoPersistent keepalive interval in seconds
publickeyNoWireGuard public key
presharedkeyNoPre-shared key
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?

Annotations already disclose read-only=false, idempotent=true, and destructive=false. The description adds no extra behavioral context such as side effects, application timing, or whether changes are immediately active, merely restating the action without going beyond structured data.

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 sentence with a front-loaded verb and zero filler, making it appropriately concise for a simple tool 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?

For a mutation tool with 10 optional parameters, this description is too terse. It does not clarify whether unspecified fields are left unchanged or reset to null, nor does it mention the apply_immediately behavior that affects when changes take effect. Even with an output schema present, the update semantics remain ambiguous.

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?

All 10 parameters have schema descriptions (100% coverage), so the schema carries the semantic load. The description adds no parameter semantics beyond 'by ID', which is already covered by the required peer_id parameter, meeting the baseline of 3.

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 uses the specific verb 'update' and clearly identifies the resource as an existing WireGuard peer by ID, distinguishing it from create, search, and delete sibling tools.

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 implies usage for modifying existing peers but does not explicitly state when to use this over create/delete or mention prerequisites like searching for the peer ID first. The 'by ID' hint is present but no explicit context or alternatives are given.

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