Skip to main content
Glama

Set domain nameservers

set_domain_nameservers
Destructive

Queue an asynchronous registrar change to replace a domain's delegated nameservers with new hostnames. Use for owned domains; provide 2-13 hostnames, not IP addresses.

Instructions

Queue an asynchronous registrar nameserver change for an owned domain. When applied, the parent zone delegates the domain to the new public nameservers, replacing the prior delegation. Nameservers must be hostnames, not IP addresses; same-domain nameserver IP records are managed separately. This does not manage DNS records or PTR. Requires domains:manage when using an API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domain_idYesOwned domain ID from list_domains
nameserversYes2-13 nameserver hostnames, e.g. ns1.vpsnet.com, ns2.vpsnet.com. IP addresses are not accepted.
idempotencyKeyNoOptional idempotency key for the queued domain action

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description meaningfully extends them: it discloses that the change is queued asynchronously, that applying it replaces the prior delegation in the parent zone, that inputs must be hostnames not IPs, and that a specific permission scope is required. This is exactly the extra behavioral context annotations cannot carry on their own.

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?

Four tight sentences, front-loaded with the core action and consequences before the constraints and permission note. Every sentence contributes distinct information (async queueing, delegation replacement, input constraints, scope exclusions, auth) with no filler.

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 destructive, no-output-schema mutation, the description covers the async execution model, the effect on the parent zone, input requirements, prerequisites, and what the tool deliberately does not touch. An agent has enough to invoke it correctly and safely without additional inference.

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 description coverage is 100%, so domain_id, nameservers, and idempotencyKey are already documented in the schema; the description largely restates the hostname-not-IP constraint and the 'owned domain' notion already implied by domain_id's schema text. Baseline 3 is appropriate since the schema does the heavy lifting and the description adds little parameter-level detail.

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?

The first sentence states a precise verb+resource+scope: queuing an asynchronous registrar nameserver change for an owned domain. It also distinguishes itself from adjacent tools by clarifying it replaces parent-zone delegation rather than managing DNS records, PTR, or same-domain glue/IP records. An agent can separate it from siblings like set_guest_nameservers or upsert_dns_record without opening any schema.

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?

It states clear context (owned domain, hostnames only) and an explicit exclusion ('This does not manage DNS records or PTR'), plus the required permission (domains:manage with an API key). It stops short of naming the specific alternative sibling tools an agent should reach for when DNS records or PTR are actually the target, so it is strong but not fully routing.

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