Skip to main content
Glama

Replace the nameservers of a domain

domain_nameservers_update
Destructive

Update a domain's nameserver list to delegate DNS correctly and avoid outages caused by incorrect nameservers; user confirmation is required.

Instructions

Delegate a domain to other nameservers; a wrong list makes it unreachable. The user confirms outside the conversation; if the result is confirmation_pending, call again with the same arguments and the returned confirmation_id once the user answered.

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": "<domain>",
      "nameservers": "<nameservers>"
    },
    "name": "domain_nameservers_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name, e.g. example.com (Unicode accepted).
accountNoAccount name; the default account when omitted.
nameserversYesNameserver names.
confirmation_idNoIdentifier returned by a pending confirmation, once the user has answered on the page opened in their browser. Never invent one.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds information the annotations cannot carry: the consequence of a bad input ('a wrong list makes it unreachable') and the two-step out-of-band confirmation protocol the agent must follow. It does not cover reversibility, propagation delay, or validation failures, so it is strong but not exhaustive.

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 sentences, both load-bearing: the first front-loads the risk and scope, the second handles the confirmation-loop mechanics. There is no filler and the highest-risk information comes first.

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, non-idempotent write with an output schema, the description covers the two things an agent could realistically get wrong: using a wrong nameserver list and mishandling the pending-confirmation branch. It stops short of stating that the list is a full replacement of existing records and says nothing about permissions, which is a minor but real gap.

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 coverage is 100%, so the baseline is 3, but the description goes further by explaining what confirmation_id is for and how to obtain and reuse it ('call again with the same arguments and the returned confirmation_id'), which is the only parameter whose correct use is not self-evident from the schema.

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 uses a concrete verb and resource ('Delegate a domain to other nameservers') plus a consequence clause, so the agent knows this is a write on the domain's delegation rather than a read. It does not explicitly distinguish itself from the read-side sibling domain_nameservers or state that it replaces the entire list rather than appending, which keeps it just short of a 5.

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 gives clear operational guidance for the non-obvious case: if the result is confirmation_pending, call again with the same arguments plus the returned confirmation_id once the user has answered. What is missing is when to choose this over alternatives (e.g. reading current nameservers first, or the livedns nameserver tools) and any prerequisite that the domain must already be registered.

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