Skip to main content
Glama

Change domain nameservers

set_nameservers
DestructiveIdempotent

Replace the nameservers of a domain registered at GlobalHostia (2 to 5 host names). Wrong nameservers take the website and email offline, so it needs confirm: true after the customer approves.

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": "set_nameservers"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesA domain on your account, e.g. mybrand.com
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
nameserversYes

Output Schema

NameRequiredDescriptionDefault
newNo
oldNo
domainNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true; the description goes beyond them by explaining the concrete blast radius — wrong nameservers take the website and email offline. It stops short of propagation timing, what happens to existing DNS records, or whether the prior values are recoverable.

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?

A single tight sentence that front-loads the action and constraint, then the risk, then the confirmation gate. The trailing 'it needs confirm: true' phrasing is slightly awkward but carries no filler.

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, approval-gated mutation the description covers action, cardinality, risk and the confirm requirement, and an output schema exists so return values need not be explained. Only operational details such as propagation delay and the fate of existing DNS records are absent.

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 67% and the schema already documents all three parameters including the const-true confirm gate with its approval wording. The description's '2 to 5 host names' restates minItems/maxItems rather than adding new meaning, so it lands at the baseline for a well-covered schema.

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?

States a specific verb and resource — 'Replace the nameservers of a domain registered at GlobalHostia' — and adds the cardinality constraint (2 to 5 host names). An agent can immediately distinguish this from sibling setters like set_registrar_lock, set_whois_privacy or add_dns_record.

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?

Gives a clear precondition: it must be called with confirm: true only after the customer explicitly approves the exact change. It does not name alternative tools or exclusions, but for a nameserver swap no sibling actually substitutes, so the missing piece is minor.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.