Skip to main content
Glama

create_vpn_server

Create an OpenVPN, WireGuard, or L2TP VPN server on your UniFi network by specifying host, site, and optional client subnet.

Instructions

Create a VPN server (OpenVPN, WireGuard, or L2TP).

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. vpn_type: 'openvpn', 'wireguard', or 'l2tp'. subnet: VPN client address pool CIDR.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
nameYes
siteYes
subnetNo
enabledNo
vpn_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It states the creation action but does not disclose side effects, permissions required, idempotency, or failure modes. It is more of an action statement than a behavioral contract.

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 four short lines, front-loading the action and then listing parameter notes. Every segment adds information without filler, making it efficient and scannable.

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 presence of an output schema reduces the need to document return values. The description covers the operation and several key parameters, but it omits semantics for the required 'name' parameter and the 'enabled' flag, and provides no context on preconditions. For a create operation with no annotations, this is nearly complete but not fully.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description adds useful meaning for host (name/ID/composite ID format), site (name/ID), vpn_type (enumerated values), and subnet (CIDR pool). However, it leaves the required 'name' and optional 'enabled' parameters undefined, which is a gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific action 'Create a VPN server' and lists supported VPN types, clearly identifying the resource and operation. It distinguishes from sibling tools like update_vpn_server and list_vpn_servers via the 'Create' verb, though it does not explicitly name an alternative.

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 usage when creating a VPN server, but provides no explicit guidance on when to use this tool versus update_vpn_server or delete_vpn_server, nor any exclusions. There is no mention of prerequisites such as host/site existence.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/swkstudios/unifi-fabric-mcp-server'

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