Skip to main content
Glama

Domain lookup: DNS records, mail provider, SPF/DMARC, RDAP registrar, creation/expiry dates

domain_lookup
Read-onlyIdempotent

Use when an agent must check a domain: does it resolve, who hosts its DNS and mail, is email authenticated, how old is it, when does it expire. Input: domain (e.g. example.com; URLs accepted). Output: JSON DNS records (A, AAAA, CNAME, MX, NS, TXT, CAA, SOA), mail provider, parsed SPF and DMARC, DNS provider, and RDAP registration (registrar, created, expires, age in days, status, DNSSEC). No contact data. Use instead: site_profile for the page and security headers too; email_check for one email address. Example: ?domain=google.com Price: $0.0045 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

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_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesPublic domain or hostname (punycode for IDNs, e.g. xn--...); a URL is reduced to its hostname. Internal/reserved names → 400 (not charged)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Changed1 schema field changed
    • changedInput schema / properties / domain / description
      Previous value: -"Domain or hostname (punycode for IDNs); a URL is reduced to its hostname"New value: +"Public domain or hostname (punycode for IDNs, e.g. xn--...); a URL is reduced to its hostname. Internal/reserved names → 400 (not charged)"
  5. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, open-world profile, yet the description still adds real context: the $0.0045 per-call cost, the x402 payment rails (USDC on Base/Monad/Polygon/Arbitrum/Solana), and the explicit "No contact data" output boundary. It stops short of noting caching, rate limits, or failure behavior beyond the schema's 400 clause, so it is strong rather than exhaustive.

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?

Labeled segments (Input, Output, Use instead, Example, Price) make it scannable, and the trigger condition is front-loaded before the return-value list. Despite covering a lot, no sentence is filler — even the pricing line is operationally relevant.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does so field by field. Combined with input format, alternatives, and cost, an agent has everything needed to decide and call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3; the description earns one step more by restating that URLs are accepted and giving a concrete call example (?domain=google.com). It does not add hostname syntax or IDN guidance beyond what the schema already documents.

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 and resource — check a domain — and enumerates the questions it answers (resolution, DNS/mail hosting, email authentication, age, expiry). It then lists the exact returned fields (A, AAAA, CNAME, MX, NS, TXT, CAA, SOA, registrar, DNSSEC), which makes it unmistakable versus siblings like site_profile and email_check.

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 framing ("Use when an agent must check a domain...") is paired with a direct alternatives section: site_profile when page content and security headers are also needed, email_check for a single address. The selection criteria between this tool and both siblings are stated, not inferred.

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