Skip to main content
Glama

Attach public address to server interface

attach_public_address_to_server_interface
Destructive

Attach an owned public IP address to a VPSnet server's public interface, adding it alongside the server’s existing IPv4 without router, NAT, or purchase changes.

Instructions

Attach an owned paid public address directly to the public interface of a server that has its own public IPv4 (service_id from list_public_address_server_targets with eligible true). The address is added next to the server's own address; that address, its IP rows and reverse DNS are never touched; no network, router or NAT is involved and no purchase occurs. Offered only while get_networking_capabilities reports public_address_server_public true: this tool reads it first and refuses without any change otherwise. Pass move=true only after approving that the address leaves its previous target; a move away from such a server completes only after the server's node confirmed the address withdrawn (pending_target until then). The attach is accepted before it is applied: read get_network_public_address (target.kind server_public; carrier.node_state pending, routed, withdrawn or refused; carrier.guest_state pending, applied, customer_managed, agent_unavailable or unsupported). When guest_state is customer_managed, agent_unavailable or unsupported, nothing was written inside the server and carrier.instruction (one_liner, file_path, file_text) is what the customer runs there. check_network_public_address_reach asks again. 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": {
      "address_id": "<address_id>",
      "service_id": "<service_id>"
    },
    "name": "attach_public_address_to_server_interface"
  }
}

Input Schema

NameRequiredDescriptionDefault
moveNo
address_idYesExact lowercase UUID returned by an owned networking resource
service_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.21

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false and openWorldHint=false, so the mutation profile is known. The description still adds real value beyond that: the address is placed alongside the server's own address with no network/router/NAT and no purchase, the feature gate is enforced server-side, and move away from a server stays pending_target until the node confirms withdrawal. However, the destructiveHint=true flag is only implicitly reconciled ('move leaves its previous target'), and the idempotency guidance about reusing the original key is confusing since the schema exposes no key parameter.

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?

Purpose and prerequisites are front-loaded and correct, but the text is a dense ~1,300-character block that splices async polling semantics, reason_code taxonomy, guest_state enumeration and retry policy into a single run-on paragraph. Each fact is relevant to a mutation of this complexity, yet the lack of structure makes it hard to scan during invocation.

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?

For an async, feature-gated, permission-scoped mutation with no output schema, the definition covers what an agent actually needs: required scopes, backend-enforced ownership/2FA locks, the accepted-but-not-applied nature of the response, how to poll via in_progress/next_check_seconds, how to distinguish waiting from failure, and the manual carrier.instruction escape hatch when guest_state is customer_managed, agent_unavailable or unsupported.

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 33% (only address_id is documented), so the description has to compensate and largely does: service_id's provenance and eligibility rule are stated, and move=true is explained with full consequences. address_id gains nothing beyond the schema's UUID pattern, and the odd 'reuse only the original key' instruction references a key that does not appear among the three parameters.

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?

States a specific verb (attach) and a precisely qualified resource: an owned paid public address onto the public interface of a server that already has its own public IPv4. The 'has its own public IPv4' qualifier plus the pointer to service_id from list_public_address_server_targets (eligible true) separates this from attach_public_address_to_server and attach_public_address_to_network without ambiguity.

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

Usage Guidelines5/5

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

Gives explicit preconditions and exclusions: reads get_networking_capabilities first and refuses unless public_address_server_public is true, requires approval of the exact change, and gates move=true on approving that the address leaves its prior target. It also routes to alternatives by name — list_public_address_server_targets for the target, get_network_public_address to read state, check_network_public_address_reach to re-verify reachability.

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