Skip to main content
Glama

Get network VPN gateway

get_network_vpn_gateway
Read-onlyIdempotent

Read an owned VPN gateway to inspect its current generation, peers, grant candidates, and attachment capabilities before configuring IPsec sites or peer access.

Instructions

Read one owned VPN gateway, current generation, peers, grant candidates and attachment capability. Read capabilities.site_ipsec and ipsec_profiles before requesting an IPsec site; availability depends on this gateway's advertised capabilities. 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. 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.

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.4/5.0
Behavior5/5

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

Beyond the read-only, idempotent annotations, the description discloses permission requirements (networking:read or networking:manage, with defaults not granting networking) and backend enforcement of ownership, feature availability, and service 2FA locks. It also explains response-level caveats such as live-only fields being null until learned and IPsec SA interpretation traps.

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 description is front-loaded with the core purpose and every sentence is broadly relevant because there is no output schema carrying return-value semantics. However, it is dense and long for a one-parameter read tool, with several fine-grained interpretation notes packed into a single paragraph.

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?

Given the absence of an output schema, the description supplies the missing return semantics, permissions, alternatives, and operational caveats an agent needs to call and interpret this read tool correctly. No material behavioral or usage information appears to be missing.

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 only one parameter and the schema description coverage is 100%, including the UUID format and ownership requirement. The description reinforces that the gateway must be owned but adds no syntax or format detail beyond the schema, so the baseline 3 is appropriate.

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 description states a specific verb and resource ("Read one owned VPN gateway") and further scopes the response to current generation, peers, grant candidates, and attachment capability. It also distinguishes the tool from get_network_vpn_peer_history, so an agent can identify it without opening the schema.

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?

It explicitly names get_network_vpn_peer_history as the alternative for traffic-over-time queries and gives prerequisite guidance for IPsec site requests. It does not explicitly discuss using list_network_vpn_gateways to discover a gateway_id, but the single-resource scope is 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