Skip to main content
Glama

Set a registered domain's nameservers (free)

domain_nameservers
DestructiveIdempotent

Free: sets the domain's nameservers at the registry (2-13 hosts, or ours). Wrong nameservers take the domain offline: change only what your user asked for. A new domain keeps ours until its hold ends. Authorize with the domain token (jdd_...), an api_key whose scope covers the domain, or nip98. Called without nip98 it returns signature_required: the exact URL, method and body to sign, the body's sha256 and an unsigned kind 27235 event template (with proof of work for accounts without a paid order). Sign that, then call again with the same arguments plus nip98. Each signed event works once, within 60 s. Secrets that are ours to receive: object tokens, account API keys (jdk_), signed NIP-98 events; never a private key (nsec or 64 hex characters), wallet connection string or seed words. A raw hex key or seed words inside a sentence cannot be caught here.

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

Input Schema

NameRequiredDescriptionDefault
nip98NoThe signed NIP-98 event (base64 of its JSON) for exactly the request the signature_required answer of the same call named. Sign it with your own Nostr signer (local key, NIP-46 bunker or a signer tool); never send the private key itself, in any form (nsec, hex or seed words).
tokenNoThe domain token (jdd_...); or give api_key or nip98.
domainYesA domain registered here, e.g. example.com.
api_keyNoA scoped account API key (jdk_...) made in the dashboard. It passes through your model context and transcript: treat it like a password. Key model: a key reads (or, with write access, changes) only the objects in its scope, and sees only their invoices; every key reads the account view (limits and counts); a key never orders new objects and never receives a new object's shown-once token.
use_oursNotrue: back to our nameservers (instead of nameservers).
nameserversNo2 to 13 nameserver host names; or use_ours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Well beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true, openWorldHint=true), it discloses the full auth path (domain token, scoped api_key, or nip98), the two-call signature_required handshake with the exact URL/method/body to sign, single-use signed events expiring in 60 s, and the destructive failure mode. It stops short of describing the success response, which keeps it out of the top band.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action and the offline warning are front-loaded, which is good. But the tail is bloated with generic secret-handling boilerplate ("Secrets that are ours to receive... A raw hex key or seed words inside a sentence cannot be caught here") that reads as cross-tool policy rather than guidance specific to setting nameservers.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and six parameters, so the description carries real weight for the return path. It documents the signature_required response in useful detail but says nothing about what a successful call returns, leaving an operator unable to confirm what changed after a destructive, one-shot operation.

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, token, api_key, nip98, nameservers and use_ours are all documented in structured fields. The description restates the 2-13 host range and the "or ours" alternative but adds no syntax or format detail the schema does not already carry; baseline 3 is appropriate.

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?

"Free: sets the domain's nameservers at the registry (2-13 hosts, or ours)" gives a specific verb, resource and scope, and "at the registry" implicitly separates it from zone-record tools like records_change. It never names a sibling outright, so an agent must infer the boundary rather than being told it.

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?

The description is heavy on caution ("Wrong nameservers take the domain offline: change only what your user asked for") and on one behavioral constraint ("A new domain keeps ours until its hold ends"), but it never says when to pick this tool over records_change, domain_dnssec_sync or domain_transfer. Usage is implied by the action rather than stated.

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.

Resources