Skip to main content
Glama

unifi_vpn_status

Read-onlyIdempotent

Retrieves VPN server and site-to-site tunnel states plus the console's overall VPN health, so you can diagnose down tunnels or unhealthy VPN links for a UniFi site.

Instructions

VPN servers and site-to-site tunnels with their state, plus the console's VPN health.

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_vpn_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite name, id or reference; optional while the console has a single site

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety is fully covered. The description adds only that console-wide VPN health is included alongside per-tunnel state, but says nothing about result volume, pagination, or freshness of the state data.

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?

One compact phrase, front-loaded with the primary resources and followed by the secondary health signal; nothing is redundant. It is telegraphic rather than a full sentence, which is efficient but slightly terse.

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?

For a low-complexity read-only tool with one optional parameter, the description covers the resource domain adequately. With no output schema, however, it gives only a rough hint at the returned structure (servers, tunnels, states, health) and omits any note on result size or scope behavior across multiple sites.

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?

There is a single optional 'site' parameter with 100% schema description coverage, so the schema already explains accepted forms (name, id, reference) and the single-site default. The description adds no further meaning about how the site scopes VPN results, making this a baseline 3.

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 names the specific resources it covers (VPN servers, site-to-site tunnels) and their state, plus console-level VPN health, so an agent can tell this is a read-only VPN status tool rather than a WAN or device status tool. It lacks an explicit verb, relying on the name's 'status' to signal retrieval, 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 Guidelines2/5

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

There is no when-to-use, when-not-to-use, or alternative-tool guidance. The scope implies the obvious use case (check VPN/tunnel state), but nothing directs an agent to prefer this over, say, unifi_wan_status for connectivity questions, and no prerequisites are stated.

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