Skip to main content
Glama

Get hostname

get_hostname
DestructiveIdempotent

Retrieve a service's current hostname, reserved automatic hostname, and management mode using its VPSnet order number.

Instructions

Get the current service hostname, reserved automatic hostname, and automatic/customer management mode. Read-only API keys are accepted. Requires services:read when called with an API key.

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>"
    },
    "name": "get_hostname"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

B3.2/5.0
Behavior1/5

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

The description states 'Read-only API keys are accepted', which asserts the operation cannot mutate anything, while the annotations declare readOnlyHint=false and destructiveHint=true. An agent reasoning from the description concludes this is a safe read; the annotations say it is destructive. The descriptions of auth scope are useful, but the mutability claim conflicts with the structured data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each carrying a distinct load: what is returned, who may call it, and which scope is required. Front-loaded with the retrieval payload before the auth caveats, with no filler.

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 steps up by enumerating the returned fields (current hostname, reserved automatic hostname, management mode) and the auth/scope requirements. It is complete enough for an agent to call the tool, though it omits error behavior for unknown order numbers.

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?

There is only one parameter and the schema documents it at 100% coverage (format, pattern, length, example). The description adds no further semantics about orderNo, which is the expected baseline when the schema already does the work.

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 ('Get the current service hostname') plus the concrete payload (reserved automatic hostname, automatic/customer management mode), so the agent knows exactly what data comes back. It does not explicitly distinguish itself from read-adjacent siblings, but the read pairing with change_hostname/reset_hostname is obvious from the name and field list.

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?

The description gives the auth precondition ('Read-only API keys are accepted. Requires services:read when called with an API key'), which tells the agent whether it can call the tool. It never states when to prefer this over change_hostname, reset_hostname, or get_service, leaving tool selection implied.

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