Skip to main content
Glama

Change hostname

change_hostname
Destructive

Queue a customer-managed hostname change for a Container VPS, VPS, or Cloud VPS; use the returned event UUID to track the asynchronous update.

Instructions

Queue a customer-managed hostname change for a Container VPS, VPS, or Cloud VPS. VPSnet-managed vpsnet.cloud names are reserved. The returned noty UUID tracks the asynchronous action (get_event / wait_for_event). Also refused (422 reservedHostname): localhost, localdomain, www, ns and ns0-ns99 as bare names, names below .localhost or .internal, and names containing vpsnet. The hostname rule: at least 3 characters, at most 5 dot-separated labels of 1-30 letters, digits or inner hyphens. Requires services:manage and a full-access API key; this route is not idempotency-keyed.

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": {
      "orderNo": "<orderNo>",
      "hostname": "<hostname>"
    },
    "name": "change_hostname"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
hostnameYesCustomer hostname: 3-154 ASCII characters, at most five labels, each 1-30 alphanumeric/hyphen characters without a leading or trailing hyphen

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond annotations: states the operation is asynchronous and tracked by a returned noty UUID, lists 422 failure cases (reservedHostname values, reserved suffixes, names containing vpsnet), documents the hostname format rule, requires services:manage and a full-access API key, and notes the route is not idempotency-keyed – which directly reinforces the idempotentHint=false annotation.

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?

Dense but front-loaded: operation, then returned identifier, then validation rules, then permissions. Every sentence carries information, though the reservation list and hostname rule make it long enough to require careful reading.

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 a non-idempotent, destructive async mutation with no output schema, the description supplies everything the agent needs: what changes, what is reserved, what errors occur, what permissions are required, and how to track completion.

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?

Schema coverage is 100% and both parameters are documented there with their patterns and lengths. The description adds the hostname naming rule and reservation constraints, which complements but largely overlaps the schema, so the baseline 3 applies.

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 and resource ('Queue a customer-managed hostname change') and names the target service types (Container VPS, VPS, Cloud VPS), clearly distinguishing it from siblings like reset_hostname, change_rdns, or change_title.

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 establishes when this is applicable (customer-managed hostnames, not vpsnet.cloud reserved names) and points to get_event / wait_for_event as follow-ups. It doesn't explicitly contrast with reset_hostname or change_rdns, but the scope is clear enough.

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