Skip to main content
Glama

Set network VPN site reach

set_network_vpn_site_reach
Destructive

Configure a site's load balancer and floating IP reachability, or set null to inherit the VPN default, then check state and reason_code to confirm the change.

Instructions

Set this site's load-balancer/floating-IP reach choice, or null to follow its VPN default. This can expand access to services behind those addresses; the backend checks ownership and service locks. Inspect site_reach.state and reason_code. 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>",
      "peer_id": "<peer_id>",
      "reach": "<reach>"
    },
    "name": "set_network_vpn_site_reach"
  }
}

Input Schema

NameRequiredDescriptionDefault
reachYes
peer_idYesExact lowercase UUID returned by an owned networking resource
gateway_idYesExact lowercase UUID returned by an owned networking resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.21

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/readOnlyHint annotations: discloses that the backend checks ownership, feature availability and service 2FA locks, and that explicit networking:manage (not full/read) is required for changes. It also explains the pending semantics ('accepted operation is pending, not proof of connectivity'), the in_progress/reason_code polling contract, the distinction between waiting and failure reason_kinds, and the no-automatic-retry rule. That is unusually complete behavioral disclosure for a destructive mutation.

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 core purpose and the null behavior are correctly front-loaded, but the text is dense and partly redundant: 'the backend checks ownership and service locks' is restated later as 'The backend enforces ownership, feature availability and service 2FA locks'. The lengthy polling paragraph, while useful, is generic boilerplate that inflates the definition and dilutes the tool-specific content.

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?

With no output schema, the description compensates by naming the fields to inspect (site_reach.state, reason_code, in_progress) and describing how a pending operation resolves. For a destructive, non-idempotent mutation with three required parameters it covers safety, permissions and verification adequately. The remaining gap is the meaning of the individual reach booleans.

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?

At 67% schema coverage the two UUID parameters are already documented in the schema, but the description adds real meaning to the undocumented `reach` object, explaining it is a load-balancer/floating-IP reach choice and that null means inherit the VPN default. It does not explain what true versus false means for the individual load_balancers/floating_ips booleans inside that object.

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 and resource: sets this site's load-balancer/floating-IP reach choice, with the null case defined as 'follow its VPN default'. An agent can distinguish it from other networking setters by the resource targeted, but the description never names or contrasts a sibling (e.g. set_network_vpn_public_access or check_network_public_address_reach), so differentiation is inferential rather than explicit.

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?

Gives a concrete pre-call sequence: read current capabilities and owned resource state first, then obtain approval for the exact change. It also warns that the change can expand access to services behind those addresses, which is relevant when-to-use context. It stops short of naming alternatives or stating when NOT to use this tool versus the public-access or reach-check siblings.

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