Skip to main content
Glama

Set custom nameservers

set_nameservers
DestructiveIdempotent

Point a domain at custom nameservers or reset to default provider DNS. Custom mode applies your nameservers; default uses Namecheap BasicDNS, shifting DNS authority accordingly.

Instructions

Point a domain at nameservers. On Namecheap, mode=default resets it to Namecheap BasicDNS. IMPORTANT: moving nameservers moves DNS authority, so records held at the old provider stop taking effect. Route 53 cannot do this — a Route 53 zone's nameservers are set wherever the domain is registered.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYescustom = your nameservers; default = the provider's own DNS.
domainYes
providerNoForce a provider instead of routing by domain. Needed when the domain does not exist yet (registration), and useful when a domain is at two providers and you mean a specific one.
nameserversNoRequired for mode=custom. Two minimum; GoDaddy allows up to 13, Namecheap 12.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
domainYes
accountYes
successYes
providerYes
environmentNo
Behavior5/5

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

The description adds important behavioral context beyond the annotations: moving nameservers transfers DNS authority, so records at the old provider stop taking effect. This aligns with destructiveHint=true and openWorldHint=true, and the warning about consequences is valuable.

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?

The description is three sentences, front-loaded with the primary purpose, followed by critical provider-specific and consequence information. Every sentence carries meaningful content without repetition or fluff.

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?

Given the tool's complexity and the presence of an output schema, the description covers the essential caveats: provider-specific behavior, the consequence of changing DNS authority, and a Route 53 limitation. This is sufficient for an agent to select and invoke the tool correctly.

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 high (75%), and the description adds semantics for the 'mode' parameter by explaining that 'default' resets to Namecheap BasicDNS. This goes beyond the schema's generic description. The 'domain' parameter is self-evident and needs no extra explanation.

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 description uses the specific verb 'Point a domain at nameservers,' clearly identifying the resource and action. It distinguishes from sibling tools like get_nameservers and modify_dns_records by focusing on the nameserver assignment operation.

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 provides clear usage context, including a critical exclusion (Route 53 cannot do this) and provider-specific behavior (mode=default resets to Namecheap BasicDNS). It does not explicitly compare to all alternatives, but the guidance is sufficient for making an informed choice.

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/fledgeling-co/namecheap-mcp'

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