Skip to main content
Glama

vpn_connections

Read-only

Retrieve FRITZ!Box VPN connection details—name, type (WireGuard/IPSec), state, enabled status, peer, networks, errors, and WireGuard port—without exposing keys or credentials.

Instructions

[Stufe: read] VPN-Verbindungen der Box (/api/v0/generic/vpn): Name, Typ WireGuard/IPSec, Zustand, aktiviert, verbunden seit (ISO), Gegenstelle, lokale/entfernte Netze, aktiver Fehler bzw. bei verbundener Verbindung letzter (historischer) Fehler – Codes roh, undokumentiert –, WireGuard-Port. Gibt NIE Schlüssel, Pre-Shared-Keys, Konfigurationen oder Zugangsdaten aus.

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": "vpn_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)

Output Schema

NameRequiredDescriptionDefault
noteNo
countYes
activeNo
sourceNo
availableYes
connectionsYes
wireguard_listen_portNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that error codes are raw and undocumented, that a connected tunnel reports a historical error, and — most valuably — that keys, pre-shared keys, configurations and credentials are NEVER returned. That non-disclosure guarantee is exactly the kind of behavioral context annotations cannot carry. Return format is partly covered by the output schema, so a 4 rather than 5.

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?

The stage tag and resource are front-loaded, and the long field enumeration carries real information rather than filler. The parenthetical caveat about raw/undocumented error codes earns its place, though the sentence is dense and could be split for readability.

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?

Annotations cover the safety profile and an output schema exists, so the description's job is mostly to add caveats — which it does with the error-code warning and the credential-exclusion guarantee. The remaining gap is sibling differentiation against vpn_status and any note on the box parameter.

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 the single optional 'box' parameter is fully documented in the schema, so the baseline of 3 applies. The description adds nothing about multi-box behavior — it never mentions the box selection at all, missing a chance to explain the default-first-box semantics.

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?

States a specific verb/resource pair ('VPN-Verbindungen der Box' via /api/v0/generic/vpn) and enumerates the exact fields returned, so an agent knows precisely what data it gets. It does not, however, distinguish itself from the sibling vpn_status, leaving the agent to guess which of the two VPN readers to pick.

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 '[Stufe: read]' tag signals this is a pure read operation, which implies when it is appropriate, but there is no explicit when-to-use/when-not guidance and no routing to or away from vpn_status. Usage must be inferred from the field list rather than stated.

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