Skip to main content
Glama

Generate WireGuard peer config

wg_config_generate
Read-onlyIdempotent

Generate a fresh WireGuard keypair and ready-to-paste client config. Read-only operation prints config and keys without modifying any interface.

Instructions

Generate a fresh WireGuard keypair and a ready-to-paste client config. Read-only — it does NOT modify any interface; it just prints the config and keys for you to use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dnsNoDNS server for the client
addressNoclient tunnel address, e.g. 10.0.0.2/32
allowed_ipsNoroutes through the tunnel (default 0.0.0.0/0, ::/0)
server_endpointNoserver host:port, e.g. vpn.example.com:51820
server_public_keyNothe server's public key
Behavior4/5

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

Description aligns with annotations (readOnlyHint, destructiveHint) and adds behavioral detail: it generates a keypair and prints config. No contradictions; provides useful context beyond annotations.

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?

Two concise sentences that front-load purpose and add a key behavioral note. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but description adequately explains the tool outputs config and keys. Could explicitly list what is output, but for a straightforward generation tool, the description is sufficient.

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 coverage is 100%, so the schema already describes parameters. Description does not add much beyond implying they are part of the client config. 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?

Description clearly states it generates a WireGuard keypair and client config. The verb 'generate' and resource 'WireGuard peer config' are specific, and the tool is distinct from sibling tools like wg_peer_add or wg_status.

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

Usage Guidelines4/5

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

Explicitly states it is read-only and does not modify any interface, clarifying when to use it. It could mention alternatives like wg_peer_add for actually adding a peer, but the context is clear.

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/Socialpranker/netops-mcp'

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