Skip to main content
Glama

Set domain nameservers

set_domain_nameservers
Destructive

Queues an asynchronous nameserver delegation change for an owned domain to new public hostnames, including required DNSSEC transition steps.

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. Follow returned dnssec_transition steps until done; preserve parentDsUnreadable or parentDsRemovalRequired refusals and do not bypass an active transition with manual DS edits. Requires domains:manage when using 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": {
      "domain_id": "<domain_id>",
      "nameservers": "<nameservers>"
    },
    "name": "set_domain_nameservers"
  }
}

Input 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

A3.9/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotentHint=false, and the description adds substantial context beyond them: the change is queued asynchronously, it replaces the prior delegation in the parent zone, DS/DNSSEC transitions may follow and must be completed, and API-key calls need domains:manage. It also discloses refusal states the agent must not attempt to work around.

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?

Front-loads the action and outcome, then layers constraints; every sentence carries information. It is dense and acronym-heavy (PTR, DS, parentDsUnreadable) with no light gloss, but nothing is redundant.

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?

For a destructive, asynchronous mutation with no output schema, the description covers the side effect, the follow-up transition protocol, permission requirements, and refusal cases. It stops short of describing what the queued action object returns (status, polling), leaving a small gap.

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, including the hostname-not-IP rule. The description adds only the note that same-domain nameserver IP records are managed separately, which is marginal meaning beyond 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Queue an asynchronous registrar nameserver change for an owned domain') and scopes it by clarifying it replaces the parent-zone delegation rather than managing DNS records or PTR. Differentiation from the guest-level sibling is implied by 'owned domain' rather than stated explicitly, so it is clear but not fully sibling-routing.

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?

Gives operational guidance (follow returned dnssec_transition steps, honor parentDsUnreadable/parentDsRemovalRequired refusals, don't bypass an active transition with manual DS edits) and the required permission. It does not state when to prefer this over set_guest_nameservers or how it interacts with set_dnssec, so selection guidance is only 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