Skip to main content
Glama

Change primary nameservers

change_primary_nameservers
Destructive

Set new primary nameservers for a secondary DNS zone to control the source of zone transfers. Complete the two-step update using the confirmation token.

Instructions

Replace the primary nameservers of a secondary zone (the servers Hetzner transfers the zone from). The ENTIRE zone content will be taken from the new primaries on the next transfer. Only applicable to zones in secondary mode. The first call returns a short-lived confirmation token bound to exactly this nameserver list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zoneYesID or name of the zone, e.g. "example.com"
confirmTokenNoConfirmation token from the previous call of this same tool with identical arguments. Omit on the first call — the server then returns a token that is valid for a few minutes.
primary_nameserversYesPrimary nameservers to transfer the zone from (secondary zones)
Behavior4/5

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

Beyond the destructiveHint annotation, the description discloses that the entire zone content will be replaced from new primaries and explains the confirmation token flow. It does not describe all side effects in detail but adds meaningful behavioral context.

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?

Description is concise with four sentences, each providing essential information: purpose, side effect, applicability, and workflow. No redundant wording; the structure is logical and front-loaded with the main action.

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?

Given the rich schema and destructiveHint annotation, the description is quite complete. It covers scope, transfer impact, secondary mode restriction, and the confirmation token process. It does not detail second-call behavior or error cases, but that is not critical for this operation.

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 provides 100% parameter descriptions, so baseline is 3. The description adds value by explaining the two-step confirmation token behavior and clarifies that primary_nameservers list is exactly what the token is bound to, enriching parameter understanding.

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?

Description clearly states the tool replaces primary nameservers of a secondary zone, specifying the resource and action. It also distinguishes from siblings by explicitly limiting to secondary zones and explaining the transfer context.

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 clearly states applicability ('Only applicable to zones in secondary mode') and explains the transfer process, but it does not explicitly mention alternative tools or when-not-to-use scenarios beyond the secondary zone restriction. This is clear context but slightly lacks explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ni-c/hetzner-dns-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server