Skip to main content
Glama

WHOIS / RDAP / DNS / network / Web3 lookup

lookup_target
Read-onlyIdempotent

Look up one domain, IP address, CIDR block, ASN (AS15169), EVM address (0x…) or Web3 name (ENS .eth, Unstoppable, SPACE ID .bnb, Handshake hns:) and get a compact fact sheet. Domains: registrar, dates, status, nameservers, DNS records, overall mail-security grade, third-party services seen in DNS, possibly dangling records. IPs, CIDRs and ASNs: network owner, origin AS, RIR, cloud / CDN provider, Tor or iCloud Private Relay tag, geolocation, abuse contact, local reputation. Web3 names: registration status, addresses, records, ENS expiry. A 0x EVM address: its ENS primary name on Ethereum, Base, Optimism, Arbitrum, Linea and Scroll (reverse lookup). A look-alike warning is added when the name uses deceptive letters.

Use it first for any question about who owns, runs, hosts or registered something. Prefer check_mail_security when you need each email check rather than the grade, and check_lookalike to screen many names without network calls.

Behavior: queries registries, DNS and (for Web3) blockchain RPC live, usually in 1-5 s, at most about 12 s. If one source fails, the rest is still returned and the failure is listed under errors. Reputation covers local blocklists only: no match is not a clean bill of health. Queries are not logged or stored. The result ends with details_url, the full page with every record and its provenance.

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": {
      "query": "<query>"
    },
    "name": "lookup_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYeswhat to look up: a domain (example.com, münchen.de), IPv4 / IPv6 address, CIDR (8.8.8.0/24), ASN written as AS15169 (a bare number is not an ASN), a Web3 name (vitalik.eth, brad.crypto, spaceid.bnb, bonfida.sns, hns:name), or an EVM address (0xd8dA…6045) to find its ENS primary names
namespaceNooptional; force a Web3 namespace (ens, unstoppable, spaceid, sns or hns) when a name could belong to several, e.g. a TLD that is both an ICANN TLD and a Web3 namespace. Leave empty and the namespace is detected from the name

Output Schema

NameRequiredDescriptionDefault
irrNorouting registry (IRR) check of the announcement of an IP or CIDR: match, less_specific, mismatch or none; absent without IRR data. A registry object is a claim, not an authorisation
rpkiNoroute origin validation of the announcement of an IP or CIDR: valid, invalid or not_found; absent without RIS and VRP data. Informational
typeYestarget type: domain, ipv4, ipv6, cidr, asn or web3_name
cloudNocloud / CDN provider
queryYesnormalized query
dnssecNoDNSSEC status from the resolver: secure (resolver-validated), signed (DS present, not validated), keys (DNSKEY only) or insecure
errorsNoprovider failures; the rest of the result is still valid
countryNo
networkNocovering CIDR or network range
summaryYesthe full human-readable fact sheet, the same text as the text content
warningsNolook-alike, special-purpose and namespace-collision warnings
addressesNoWeb3 addresses as network:address
origin_asNoorigin AS number for an IP
registrarNo
anonymizerNotor_exit or private_relay
created_atNo
expires_atNo
reputationNoverdict from local lists; absent when no list is loaded
details_urlNofull result page
nameserversNo
web3_statusNo
availabilityNoregistered, available or unknown (domains and Web3 names)
network_typeNonetwork type(s) the AS lists about itself in PeeringDB (NSP, Content, Cable/DSL/ISP, ...), comma-separated when it lists several. Self-reported, not a classification we checked; PeeringDB is dropping the field in API v3, so it may be absent, also when PeeringDB data is off
organizationNo
data_warningsNomachine-readable notes that the result is partial, built on a stale dataset or thinner than a fully configured instance; absent when there is nothing to note
grace_ends_atNoend of the renewal grace period (.eth names); expires_at holds the registration expiry
mail_securityNostrong, fair, weak or no_mail
primary_namesNofor a 0x address: ENS primary names as network:name (ethereum, base, optimism, arbitrum, linea, scroll)
peering_policyNoPeeringDB general peering policy (Open, Selective, Restrictive, No)
announced_prefixNoprefix announced in BGP (RIPE RIS) that covers an IP or CIDR; absent when RIS data is off
internet_exchangeNofor an address inside an internet exchange peering LAN: the exchange
announced_prefix_countNofor an ASN: number of prefixes it originates (RIPE RIS)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / data_warnings
      Added value: +{
      +  "description": "machine-readable notes that the result is partial, built on a stale dataset or thinner than a fully configured instance; absent when there is nothing to note",
      +  "items": {
      +    "properties": {
      +      "code": {
      +        "description": "partial_data (a source failed in this call), stale_dataset (a local dataset is past its freshness window) or limited_coverage (this instance has not loaded data the section needs)",
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "description": "the provider or dataset id the note is about",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / network_type / description
      Previous value: -"PeeringDB network type of the AS (NSP, Content, Cable/DSL/ISP, ...), self-reported; absent when PeeringDB data is off"New value: +"network type(s) the AS lists about itself in PeeringDB (NSP, Content, Cable/DSL/ISP, ...), comma-separated when it lists several. Self-reported, not a classification we checked; PeeringDB is dropping the field in API v3, so it may be absent, also when PeeringDB data is off"
  3. Changed11 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"what to look up: a domain (example.com, münchen.de), IPv4 / IPv6 address, CIDR (8.8.8.0/24), ASN written as AS15169 (a bare number is not an ASN), or a Web3 name (vitalik.eth, brad.crypto, spaceid.bnb, bonfida.sns, hns:name)"New value: +"what to look up: a domain (example.com, münchen.de), IPv4 / IPv6 address, CIDR (8.8.8.0/24), ASN written as AS15169 (a bare number is not an ASN), a Web3 name (vitalik.eth, brad.crypto, spaceid.bnb, bonfida.sns, hns:name), or an EVM address (0xd8dA…6045) to find its ENS primary names"
    • addedOutput schema / properties / announced_prefix
      Added value: +{
      +  "description": "prefix announced in BGP (RIPE RIS) that covers an IP or CIDR; absent when RIS data is off",
      +  "type": "string"
      +}
    • addedOutput schema / properties / announced_prefix_count
      Added value: +{
      +  "description": "for an ASN: number of prefixes it originates (RIPE RIS)",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / dnssec
      Added value: +{
      +  "description": "DNSSEC status from the resolver: secure (resolver-validated), signed (DS present, not validated), keys (DNSKEY only) or insecure",
      +  "type": "string"
      +}
    • addedOutput schema / properties / grace_ends_at
      Added value: +{
      +  "description": "end of the renewal grace period (.eth names); expires_at holds the registration expiry",
      +  "type": "string"
      +}
    • addedOutput schema / properties / internet_exchange
      Added value: +{
      +  "description": "for an address inside an internet exchange peering LAN: the exchange",
      +  "type": "string"
      +}
    • addedOutput schema / properties / irr
      Added value: +{
      +  "description": "routing registry (IRR) check of the announcement of an IP or CIDR: match, less_specific, mismatch or none; absent without IRR data. A registry object is a claim, not an authorisation",
      +  "type": "string"
      +}
    • addedOutput schema / properties / network_type
      Added value: +{
      +  "description": "PeeringDB network type of the AS (NSP, Content, Cable/DSL/ISP, ...), self-reported; absent when PeeringDB data is off",
      +  "type": "string"
      +}
    • addedOutput schema / properties / peering_policy
      Added value: +{
      +  "description": "PeeringDB general peering policy (Open, Selective, Restrictive, No)",
      +  "type": "string"
      +}
    • addedOutput schema / properties / primary_names
      Added value: +{
      +  "description": "for a 0x address: ENS primary names as network:name (ethereum, base, optimism, arbitrum, linea, scroll)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / rpki
      Added value: +{
      +  "description": "route origin validation of the announcement of an IP or CIDR: valid, invalid or not_found; absent without RIS and VRP data. Informational",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / namespace / description
      Previous value: -"optional; force a Web3 namespace (ens, unstoppable, spaceid or hns) when a name could belong to several, e.g. a TLD that is both an ICANN TLD and a Web3 namespace. Leave empty and the namespace is detected from the name"New value: +"optional; force a Web3 namespace (ens, unstoppable, spaceid, sns or hns) when a name could belong to several, e.g. a TLD that is both an ICANN TLD and a Web3 namespace. Leave empty and the namespace is detected from the name"
    • changedInput schema / properties / query / description
      Previous value: -"what to look up: a domain (example.com, münchen.de), IPv4 / IPv6 address, CIDR (8.8.8.0/24), ASN written as AS15169 (a bare number is not an ASN), or a Web3 name (vitalik.eth, brad.crypto, spaceid.bnb, hns:name)"New value: +"what to look up: a domain (example.com, münchen.de), IPv4 / IPv6 address, CIDR (8.8.8.0/24), ASN written as AS15169 (a bare number is not an ASN), or a Web3 name (vitalik.eth, brad.crypto, spaceid.bnb, bonfida.sns, hns:name)"
  5. Changed3 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / summary
      Added value: +{
      +  "description": "the full human-readable fact sheet, the same text as the text content",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "query",
      -  "type"
      -]New value: +[
      +  "summary",
      +  "query",
      +  "type"
      +]
  6. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnly/openWorld/idempotent), it discloses live query semantics, expected latency (1-5 s, up to ~12 s), partial-failure behavior with an errors list, that reputation is local blocklists only ('no match is not a clean bill of health'), that queries are not logged or stored, and that details_url provides provenance. The only missing piece is pagination/truncation behavior for large fact sheets, which is minor given the tool returns a single compact object.

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 the verb and resource list, then usage routing, then behavior — a logical progression with no filler sentences. The long per-input-type field enumeration is partly redundant with the existing output schema, which makes the description denser than strictly necessary, but nothing is wasted.

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?

For a polymorphic lookup tool with two parameters and a full output schema, the description covers what each input type resolves to, timing, partial failures, reputation caveats, privacy, and the provenance link. An agent has everything needed to call it correctly and interpret the response.

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%, and the schema already documents both query formats (including the ASN and EVM address examples) and the namespace enum values with detection fallback. The description largely restates those formats rather than adding new syntax or constraints, 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 first sentence pairs a specific verb ('Look up one') with an enumerated set of resources (domain, IP, CIDR, ASN, EVM address, Web3 name) and states the output shape ('compact fact sheet'). It then details what is returned for each input type, so an agent can tell exactly what this tool covers versus check_route, get_tld_info, or check_mail_security.

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?

Gives explicit routing: 'Use it first for any question about who owns, runs, hosts or registered something,' and names two alternatives with the condition that selects each ('Prefer check_mail_security when you need each email check rather than the grade,' 'check_lookalike to screen many names without network calls'). Both when-to-use and when-to-use-something-else are 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