Skip to main content
Glama

Reverse NS Lookup

ns_reverse
Read-onlyIdempotent

Reverse NS lookup: find domains hosted on a specific nameserver, filtered by TLD, keyword, and exact length or length range. Covers generic TLDs plus country-code TLDs; which country-code TLDs you can see depends on your plan, and asking for one outside it returns a message saying so. Give several nameservers to find domains that use all of them at once (intersection; available on higher plans).

Related: whois, dns.

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": {
      "ns": "<ns>"
    },
    "name": "ns_reverse"
  }
}

Input Schema

NameRequiredDescriptionDefault
nsYesTarget nameserver hostname (e.g., 'ns1.example.com'). Comma-separate up to 10 to match only domains that use all of them (intersection, unlike tld where commas mean any); multiple nameservers are available on higher plans.
tldNoFilter by TLD, matched as an exact suffix (e.g. 'com', 'de', or a second-level suffix such as 'co.uk'; 'uk' does not include 'co.uk')
pageNoPage number for pagination
sortNoSort order
lengthNoDomain name length (characters before the TLD), 1-63: a number for an exact length ('10'), a range ('8-12'), 'N+' for N and longer ('15+'), or '<N' for shorter than N ('<5').
keywordNoSubstring filter within domain names
no_hyphenNoExclude hyphens
no_numberNoExclude numbers
pure_alphaNoLetters only (strictest quality filter)
pure_digitNoNumbers only

Output Schema

NameRequiredDescriptionDefault
dataNo
pageNo
errorNo
totalNoNumber of results on this page
successNo
max_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / length
      Added value: +{
      +  "description": "Domain name length (characters before the TLD), 1-63: a number for an exact length ('10'), a range ('8-12'), 'N+' for N and longer ('15+'), or '<N' for shorter than N ('<5').",
      +  "type": "string"
      +}
    • removedInput schema / properties / max_len
      Removed value: -{
      -  "description": "Maximum domain name length (integer)",
      -  "type": "string"
      -}
    • removedInput schema / properties / min_len
      Removed value: -{
      -  "description": "Minimum domain name length (integer)",
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • changedInput schema / properties / tld / description
      Previous value: -"Filter by TLD (e.g., 'com')"New value: +"Filter by TLD, matched as an exact suffix (e.g. 'com', 'de', or a second-level suffix such as 'co.uk'; 'uk' does not include 'co.uk')"
  3. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "success"
      -]
  4. Changed1 schema field changed
    • changedInput schema / properties / ns / description
      Previous value: -"Target nameserver hostname (e.g., 'ns1.example.com')"New value: +"Target nameserver hostname (e.g., 'ns1.example.com'). Comma-separate up to 10 to match only domains that use all of them (intersection, unlike tld where commas mean any); multiple nameservers are available on higher plans."
  5. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and non-open-world, so the safety profile is covered. The description adds genuinely useful context beyond that: country-code TLD visibility is plan-gated and out-of-plan requests return an explanatory message rather than failing silently, and multi-nameserver intersection is plan-restricted.

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?

The core purpose and filter set are front-loaded in the first sentence, with caveats and the intersection rule following in decreasing order of importance. The dangling 'Related: whois, dns' line is low-value filler that adds no actionable information.

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?

With an output schema present, return values need no explanation, and the fully documented 10-parameter schema carries the filter semantics. The description covers the complexity-relevant gaps an agent needs — plan gating, the out-of-plan message, and intersection behavior — leaving little an agent would get wrong on a first call.

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 every parameter including the length syntax and TLD suffix matching is already documented in the schema. The description's note that comma-separated nameservers mean intersection 'unlike tld where commas mean any' is a helpful cross-parameter clarification, but most parameter meaning lives in structured fields, so the baseline of 3 applies.

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?

The opening clause gives a specific verb and resource ('find domains hosted on a specific nameserver') plus the filter dimensions, so the agent knows exactly what the tool returns. The trailing 'Related: whois, dns' merely lists neighbors without stating how reverse-NS differs from a forward DNS or whois lookup, so sibling differentiation is asserted rather than explained.

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?

Usage hints are present in the form of plan constraints ('available on higher plans') and the intersection behavior for multiple nameservers, which shape when the tool is usable. However, there is no explicit when-to-use-this-vs-an-alternative guidance, and 'Related: whois, dns' does not tell the agent which to pick for a given question.

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.