Skip to main content
Glama
unifi-mcp-server

unifi-mcp-server

by PainInTheNic

List VPN Servers and Tunnels

unifi_list_vpn
Read-onlyIdempotent

List VPN servers and site-to-site tunnels on a UniFi site to review remote-access and inter-site VPN configuration.

Instructions

List VPN configuration on a site: 'servers' lists VPN servers (e.g. WireGuard/L2TP for remote access), 'site_to_site' lists site-to-site VPN tunnels.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unifi_list_vpn"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoWhich VPN objects to list: 'servers' (remote-access VPN) or 'site_to_site' (tunnels between sites)servers
limitNoMaximum number of results to return (1-200, default 50)
offsetNoNumber of results to skip, for pagination (default 0)
siteIdNoSite ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically.
responseFormatNo'markdown' for a compact human-readable summary (default), 'json' for full raw API datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds that results are scoped to a site and that the two kinds are distinct resource families, but says nothing about pagination behavior or what the listing contains beyond the kind names.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with a colon-delimited breakdown of the two kinds; no filler. The parenthetical protocol examples are mildly optional but do help an agent map the enum to real objects.

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?

For a read-only, fully-annotated list tool with 100% schema coverage and no output schema, the description covers enough to invoke it correctly. The only gap is that it does not hint at the shape of returned VPN server/tunnel records.

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%, so kind, limit, offset, siteId and responseFormat are all documented in the schema. The description restates the kind split and adds concrete examples (WireGuard/L2TP for remote access), which is slightly more than the schema but not meaning beyond it for the other four parameters.

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 uses a specific verb and resource ('List VPN configuration on a site') and then disambiguates its own two modes, 'servers' vs 'site_to_site'. It never names a sibling list tool, so cross-tool differentiation is left implicit, which keeps it just below a 5.

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 clarifies which enum value yields which kind of object, which is genuinely useful selection guidance. However, it gives no when-to-use context versus alternatives (e.g. unifi_list_networks, unifi_list_wans) and no prerequisites, so usage is only implied.

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

Deploy Server

Other Tools