Skip to main content
Glama

Set network site route mode

set_network_site_route_mode
Destructive

Choose DHCP or router mode to control how a network's servers reach VPN-connected locations.

Instructions

Choose how the servers of a network reach its VPN's connected locations: dhcp (default) = DHCP classless static routes, picked up at the next lease renewal (about 30 minutes) or a DHCP renew/restart, never by servers with a fixed address; router = an internal network router (no NAT, no external address, no price) carries the routes at once. Has no effect on a network with a NAT gateway. Every VPN of the network moves to a new route line at once. 409 while a server of the network is suspended for abuse. 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": {
      "network_id": "<network_id>",
      "route_mode": "<route_mode>"
    },
    "name": "set_network_site_route_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
network_idYesExact lowercase UUID returned by an owned networking resource
route_modeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.17

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the destructiveHint=true and readOnlyHint=false annotations, the description discloses substantial behavior: 409 conditions (suspended server), the simultaneous effect on every VPN, the 'no price' aspect, the required permission scopes, backend-enforced ownership/2FA locks, and full polling semantics for in_progress/reason_code. It also states the accepted operation is 'pending, not proof of connectivity,' which directly reinforces the mutating, failure-prone nature of the call. This is well beyond what the annotations convey.

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 half is well-structured and front-loads the mode semantics. But a large trailing portion (polling instructions, reason_code handling, transport-uncertainty retry advice) reads as boilerplate shared across the API rather than tool-specific detail. It's long and mixes two purposes, diluting the core message.

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 and only two parameters, the description must carry a lot, and it does: it covers mode tradeoffs, permission scopes, the 409, backend enforcement, and result-handling expectations. The generic operation-polling guidance is arguably redundant with a shared convention, but nothing an agent needs to invoke this correctly appears missing.

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

Parameters5/5

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

Schema description coverage is only 50 percent (network_id documented, route_mode enum undocumented in the schema). The description fully compensates by explaining that 'dhcp' uses DHCP classless static routes with a ~30-minute renewal and does not apply to fixed-address servers, while 'router' carries routes at once with no NAT/external address/price. This adds real operational meaning beyond the raw enum.

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 opening sentence, 'Choose how the servers of a network reach its VPN's connected locations,' clearly states the resource and the choice being made, and the two mode values are enumerated immediately. It stops short of explicitly contrasting with sibling tools like set_network_vpn_site_bgp or set_network_routed_egress, so differentiation relies on the reader's inference. Still, the purpose is unambiguous and specific.

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 gives meaningful usage context: it explains when the setting has no effect (NAT gateway networks) and requires 'Read current capabilities and owned resource state first; obtain approval for the exact change.' It does not name specific alternative tools or describe when a different tool would be a better choice. But for a single-purpose setter, the when-to-use guidance is solid.

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