Skip to main content
Glama

Get network VPN gateway

get_network_vpn_gateway
Read-onlyIdempotent

Reads one owned VPN gateway's current generation, peers, grant candidates, attachment capability, and recent operation summary to inspect configuration and plan IPsec or WireGuard changes.

Instructions

Read one owned VPN gateway, current generation, peers, grant candidates and attachment capability. recent_operation is the latest gateway action summary, with durable progress and generation-matched observation timestamps; it is not a connectivity test. image.update.public_release is optional operator-reviewed channel and notes for a qualified selected target when update status is current or available; it does not describe the installed build or promise an automatic update. Read capabilities.site_ipsec and ipsec_profiles before requesting an IPsec site; availability depends on this gateway's advertised capabilities. capabilities.site_ipsec_bgp_lines reports available/reason_code when the current backend can support two-line BGP; it is absent on older backends. Peer grant_scope distinguishes individual servers from network-wide access to current and future eligible servers. WireGuard peers carry rx_bytes / tx_bytes, last_handshake_at and current_endpoint (the outer address:port last observed; live only, null until learned). IPsec sites report SA/liveness and crypto facts: an old CHILD-SA rekey time is not a failed WireGuard handshake, and requested pqc is not observed post_quantum. For two-line sites, site.lines[n].bgp and site.lines[n].active belong to that exact line; site.bgp is legacy line-1 data. A line's active is local route ownership, not a BGP bestpath. When present, route_visibility is VPSnet gateway FRR evidence scoped to that line: accepted and selected are bounded neighbor routes, advertised is after-policy output, and installed.observed proves only exact local kernel routes. Unknown or stale evidence is not an empty route assertion; no customer-router reachability is measured. site_options shows hub_and_spoke, hub_and_spoke_applied and route_mode while site-to-site is enabled. For traffic over time use get_network_vpn_peer_history. Requires explicit networking:read for reads or networking:manage for changes; full/read defaults do not grant networking. The backend enforces ownership, feature availability and service 2FA locks.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gateway_id": "<gateway_id>"
    },
    "name": "get_network_vpn_gateway"
  }
}

Input Schema

NameRequiredDescriptionDefault
gateway_idYesExact lowercase UUID returned by an owned networking resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint, idempotentHint and destructiveHint=false annotations, the description discloses required auth scopes ('networking:read' vs 'networking:manage'), that defaults do not grant networking, backend ownership/feature/2FA enforcement, and field-level caveats such as stale evidence not implying empty routes. It also clarifies that requested pqc is not observed post_quantum and that an old CHILD-SA rekey is not a failed WireGuard handshake.

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

Conciseness3/5

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

The first sentence is well front-loaded, and most subsequent sentences explain output fields that would otherwise be undocumented because no output schema exists. However, the body is a dense, jargon-heavy run-on wall of text with no bullet or paragraph structure, making it harder to scan than its complexity warrants.

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

Completeness5/5

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

There is no output schema, so the description carries the full burden of explaining return values, and it does so thoroughly: peer grant_scope, WireGuard rx_bytes/tx_bytes and last_handshake_at, IPsec SA/liveness, two-line BGP ownership semantics, route_visibility evidence bounds, and site_options. It also covers auth requirements and backend enforcement, leaving little an agent needs to call and interpret this tool correctly.

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?

With one parameter and 100% schema description coverage, the schema already documents gateway_id as the exact lowercase UUID. The description adds only the ownership implication through 'one owned VPN gateway' and does not introduce additional syntax or format details. The baseline of 3 is appropriate when the schema carries the parameter burden.

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?

The opening sentence uses a specific verb and resource ('Read one owned VPN gateway') and enumerates the returned data: current generation, peers, grant candidates and attachment capability. It distinguishes itself from list_network_vpn_gateways by reading 'one' owned gateway and from get_network_vpn_peer_history by scoping history elsewhere.

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?

The description routes traffic-over-time queries to get_network_vpn_peer_history and instructs the agent to read capabilities.site_ipsec and ipsec_profiles before requesting an IPsec site. It also warns that recent_operation is not a connectivity test. It does not explicitly contrast with list_network_vpn_gateways, but the 'one owned' scoping makes the boundary reasonably clear.

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