Skip to main content
Glama
ni-c
by ni-c

Update WireGuard client

update_client

Update a WireGuard client by changing only specified settings (name, DNS, MTU, enabled, expiry, IPs, keepalive) while preserving all other configuration.

Instructions

Update a WireGuard client. Only the provided fields are changed; all other settings are preserved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dnsNoDNS servers for the client, or null to use the server default
mtuNoMTU for the client
nameNoNew display name
enabledNoEnable or disable the client
clientIdYesNumeric ID of the client (see list_clients)
expiresAtNoExpiry date as ISO string, or null to remove the expiry
allowedIpsNoCIDRs routed through the tunnel on the client side, or null to use the server default
ipv4AddressNoIPv4 address of the client
ipv6AddressNoIPv6 address of the client
serverAllowedIpsNoAdditional CIDRs the server routes to this client
persistentKeepaliveNoPersistent keepalive interval in seconds (0 = off)
Behavior4/5

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

With no annotations present, the description carries the burden of disclosing behavior. It explicitly states that only provided fields are changed and all others are preserved, which is a critical behavioral trait for an update endpoint. However, it does not mention error handling, authentication needs, or what happens if the client does not exist, so it is not fully comprehensive.

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 just two short sentences, front-loaded with the main action. Every word contributes meaning, and there is no redundant or filler content.

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?

The tool has 11 parameters and no output schema, yet the description does not explain return values, error conditions, or side effects (e.g., whether changes apply immediately). The schema covers parameters thoroughly, but the lack of behavioral details beyond partial-update semantics leaves some gaps for an agent.

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%, and each parameter has a detailed description in the schema (e.g., expiresAt explains null removes expiry). The tool description itself adds no parameter-specific meaning, so it does not exceed 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 clearly states the action ('Update') and the resource ('a WireGuard client'), making it distinct from sibling tools like list_clients, create_client, and delete_client. The additional sentence about preserving unchanged fields further clarifies that this is a partial update, removing any ambiguity.

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?

Usage is implied by the verb 'Update' and the sibling tool list, but the description does not explicitly state when to use this tool over create_client or other alternatives, nor does it mention any prerequisites or exclusions. There is no direct 'use this for' guidance, though the partial-update behavior gives some situational context.

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/ni-c/wg-easy-mcp'

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