Skip to main content
Glama
hcloud-mcp
by Xodus-CO

change_zone_primary_nameservers

DestructiveIdempotent

Replaces the primary nameservers a secondary DNS zone transfers from, letting you update the zone's replication sources and apply a new nameserver list.

Instructions

Set the primary nameservers a secondary zone transfers from (replaces the list). Returns an Action

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": {
      "zone": "<zone>",
      "primary_nameservers": "<primary_nameservers>"
    },
    "name": "change_zone_primary_nameservers"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneYesZone ID or name, e.g. example.com
primary_nameserversYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true; the description corroborates this by stating '(replaces the list)', telling the agent that existing nameservers are overwritten rather than appended — exactly the context the destructive flag implies. It also discloses 'Returns an Action', useful since no output schema exists. It stops short of covering failure modes or permission requirements.

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?

Two tight sentences with the core action and the replacement behavior front-loaded; nothing is wasted or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema, the description covers the essential mutation and replacement semantics plus the return type. However, it leaves gaps on TSIG key handling and the error/precondition behavior for non-secondary zones, which matter for a multi-field nested parameter.

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 50%, and the description adds nothing about the nested nameserver fields; tsig_key and port are only partially documented in the schema and not addressed here. The one genuine addition is '(replaces the list)', which clarifies the semantics of the primary_nameservers array argument.

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 description pairs a specific verb ('Set') with a precise resource ('primary nameservers a secondary zone transfers from') and states the resulting effect ('replaces the list'). An agent can distinguish this from sibling tools like change_zone_ttl or change_zone_protection, though it does not explicitly contrast against other zone-change tools.

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 phrase 'a secondary zone transfers from' implicitly scopes usage to secondary zones, but there is no explicit when-to-use/when-not-to-use guidance and no mention of prerequisites such as the zone already being a secondary zone. The agent must infer the context from the name and description.

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