Skip to main content
Glama

Update Nameservers

update_nameservers
DestructiveIdempotent

Replace all current nameservers for a domain with a provided list, or switch the domain to Spaceship's built-in DNS instead of custom external nameservers.

Instructions

Update the nameservers for a domain. This replaces ALL current nameservers with the provided list. Set provider to "basic" to switch to Spaceship's built-in DNS (nameservers list is ignored). Set provider to "custom" (default) to use external nameservers. WARNING: Changing nameservers affects DNS resolution for ALL services on this domain and may cause extended downtime if misconfigured. Always confirm with the user before calling this tool and use get_domain first to check current nameservers.

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>"
    },
    "name": "update_nameservers"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain name
providerNo"basic" for Spaceship built-in DNS, "custom" for external nameserverscustom
nameserversNoList of nameserver hostnames (required for "custom" provider, ignored for "basic")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.3.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the crucial specifics: the operation wipes ALL existing nameservers, it can break DNS resolution for every service on the domain, and misconfiguration may cause extended downtime. That is exactly the consequence detail the agent needs beyond a boolean destructive flag.

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 sentences, each earning its place: purpose and scope first, then provider branching, then impact warning, then the confirmation/prerequisite rule. The riskiest information is front-loaded rather than buried, and there is 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 three-parameter tool with no output schema, the description covers scope, branching, prerequisites, and consequences thoroughly. It does not say what the call returns or whether the change is applied asynchronously (the presence of get_async_operation among siblings makes that a real question), which is the remaining 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 coverage is 100% and the schema already documents all three parameters, including that nameservers is required for "custom" and ignored for "basic". The description restates those semantics in prose and highlights the "custom" default, but adds little beyond the structured data, so the baseline 3 applies.

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 opens with a specific verb+resource ("Update the nameservers for a domain") and immediately defines the scope: it replaces ALL current nameservers rather than appending. It also explains the two provider modes, so an agent can distinguish this mutation from record-level siblings like create_ns_record without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit branch guidance ("basic" for Spaceship built-in DNS, "custom" default for external nameservers) and a prerequisite ("use get_domain first to check current nameservers"), naming the sibling to call beforehand. It also states a hard usage constraint: always confirm with the user before calling.

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