Skip to main content
Glama

Set network VPN site options

set_network_vpn_site_options
Destructive

Configure VPN site options to join offices, set load-balancer or floating-IP reach, and enable device-to-device access, then verify gateway state after changes.

Instructions

Set one or more VPN options: hub_and_spoke joins offices, site_reach sets the default load-balancer/floating-IP reach for sites, and device_mesh lets devices reach each other. Each can expand connectivity. The backend checks attached service locks and reports applied state; read get_network_vpn_gateway until it settles. 503 vpn_site_routing_unavailable while site routing is disabled. 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. Read current capabilities and owned resource state first; obtain approval for the exact change. An accepted operation is pending, not proof of connectivity. Poll the returned operation/resource on its in_progress flag, waiting next_check_seconds between reads: while in_progress is true its reason_code is what is awaited (reason_kind waiting, e.g. a queued or pending reason, or a control plane that has not answered yet), never an error; only in_progress false with reason_kind failure is a failure. Preserve reason_code. On transport uncertainty inspect state and reuse only the original key and unchanged request; never automatically retry.

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

Input Schema

NameRequiredDescriptionDefault
gateway_idYesExact lowercase UUID returned by an owned networking resource
site_reachNo
device_meshNo
hub_and_spokeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.3.21
    • addedInput schema / properties / device_mesh
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / site_reach
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "floating_ips": {
      +      "type": "boolean"
      +    },
      +    "load_balancers": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "load_balancers",
      +    "floating_ips"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "gateway_id",
      -  "hub_and_spoke"
      -]New value: +[
      +  "gateway_id"
      +]
  2. Addedv2.3.17

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare destructive=true, idempotent=false, openWorld=false; the description adds substantial context beyond them: backend enforcement of ownership, feature availability and 2FA/service locks, the 503 vpn_site_routing_unavailable condition, the pending-vs-applied distinction, and the fact that an accepted operation is not proof of connectivity. It also fully specifies the async contract (in_progress, reason_kind, preserve reason_code) and retry safety ('reuse only the original key and unchanged request; never automatically retry'). Nothing here contradicts the annotations.

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 paragraph is dense but front-loaded: option semantics come first, then permissions, then async/polling and retry rules. Almost every sentence carries operational weight for a mutating async call. A few clauses, notably the long explanation of reason_kind and in_progress states, could be tightened without losing meaning.

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 destructive, non-idempotent, nested-object mutation with no output schema, the description covers what an agent needs: required scopes, lock and ownership enforcement, the 503 failure mode, the polling protocol and safe retry behavior. The main omission is how this tool relates to the similarly named site_reach sibling, which an agent would need to disambiguate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25% (gateway_id is the sole documented field), so the description must compensate, and it largely does: it explains what hub_and_spoke, device_mesh and site_reach each control, including the load-balancer/floating-IP sub-fields, and that multiple options may be set together. It does not address interactions or conflicts between options (e.g. site_reach vs the sibling site_reach tool), leaving a small gap.

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 states a specific verb and resource ('Set one or more VPN options') and then defines each option concretely: hub_and_spoke joins offices, site_reach sets the default load-balancer/floating-IP reach, device_mesh lets devices reach each other. That is far clearer than a bare restatement of the title. It does not differentiate from the overlapping sibling set_network_vpn_site_reach, which covers a similar field, so it falls short of 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 Guidelines4/5

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

It gives concrete pre-call guidance: read current capabilities and owned resource state first, obtain approval for the exact change, and poll get_network_vpn_gateway until it settles. It also names the required scopes (networking:read for reads, networking:manage for changes) and notes that full/read defaults do not grant networking. It stops short of an explicit when-not-to-use or an alternative sibling to pick instead, so no 5.

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