Skip to main content
Glama

Set network routed egress

set_network_routed_egress
Destructive

Request a NAT transition or Internet route change for an owned network, optionally attaching an owned paid public address. Read capabilities first, then poll the returned operation until in_progress is false.

Instructions

Request the currently supported NAT transition for an owned network; the backend may refuse mode changes. This can replace the network's Internet route. public_address_id attaches an already-owned paid address and may remove it from a server. This never purchases an address. 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>",
      "internet_access": "<internet_access>",
      "expected_generation": "<expected_generation>"
    },
    "name": "set_network_routed_egress"
  }
}

Input Schema

NameRequiredDescriptionDefault
network_idYesExact lowercase UUID returned by an owned networking resource
internet_accessYes
public_address_idNoExact lowercase UUID returned by an owned networking resource
expected_generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds substantial context beyond them: the backend may refuse mode changes, the change replaces the network's Internet route, public_address_id attaches an already-owned paid address that may be detached from a server, and no address is ever purchased. It also documents auth scopes, ownership/feature/2FA enforcement, and pending-vs-failure semantics with polling instructions. The only friction is density rather than missing content, and 'reuse only the original key' is keyed idempotency, not a contradiction of idempotentHint=false.

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 purpose is front-loaded in the first sentence, but the body is a dense run of long compound sentences covering auth, locking, polling, and retry policy. The clause about networking:read for 'reads' is irrelevant to this write-only tool and should have been cut.

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 carries the return contract and does it well: accepted operations are pending, the agent polls the returned operation/resource on in_progress, waits next_check_seconds, and treats reason_code as the awaited reason unless in_progress is false with reason_kind failure. What is still missing is any account of the internet_access values and expected_generation, the latter being required.

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 50% schema description coverage, the schema already documents network_id and public_address_id, and the description adds useful semantics for public_address_id (already-owned, paid, may be detached from a server, never purchased). But the two undocumented parameters — internet_access (none / dedicated_single) and expected_generation (optimistic concurrency) — receive no explanation in the description, so the coverage gap is only partly compensated.

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 states a specific verb and resource: it requests a NAT transition (routed egress mode change) for an owned network, and it is implicitly the write counterpart of the get_network_routed_egress sibling. It is clear what operation happens, though 'currently supported NAT transition' is slightly oblique about which field (internet_access) is being changed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

'Read current capabilities and owned resource state first; obtain approval for the exact change' gives sequencing and a precondition, which is real guidance. However it never names the read sibling (get_network_routed_egress) or states an exclusion, and 'reads' mention of networking:read is not relevant to this write tool, so the agent must infer the alternative.

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