Skip to main content
Glama

Name servers of a domain

get_nameservers
Read-onlyIdempotent

The name servers a domain registered at Hodi currently uses, read live from the registry, and Hodi's own name servers. When they are not Hodi's, the DNS zone at Hodi (get_dns_zone) has no effect: records must be changed wherever the name servers point. Only for domains registered at Hodi: for a domain hosted at Hodi but registered elsewhere, get_dns_zone already says which name servers it uses (public_nameservers, in_use).

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

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain, e.g. example.com.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent safety profile, and the description adds real behavioral context: results are read live from the registry, and external name servers mean Hodi's DNS zone has no effect. It stops short of covering failure modes (unregistered domain, lookup errors) or how the two name-server sets are presented in the response.

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?

Front-loaded with what is returned, then the practical consequence, then the eligibility constraint and alternative. Dense and mostly waste-free, though the third sentence is long and packs two sibling references into one clause.

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 one-parameter read tool with annotations and no output schema, this is nearly complete: it explains what is read, where from, and the eligibility limit. The only gap is the shape of the return value (how the registry set and Hodi's own set are distinguished), which no output schema covers.

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% with a single well-documented `domain` parameter, so the schema already carries the semantics. The description adds no per-parameter detail (e.g., apex vs. subdomain handling), so the baseline of 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?

States a specific resource and scope: the name servers a domain currently uses, read live from the registry, plus Hodi's own name servers. It also draws a clear boundary against get_dns_zone, so an agent can distinguish the two without opening either 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?

Explicit when-to-use and when-not-to-use: only for domains registered at Hodi, and for domains merely hosted at Hodi it routes the agent to get_dns_zone (naming the `public_nameservers` / `in_use` fields). It also explains the downstream consequence when the name servers are external, which tells the agent what to advise next.

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