Skip to main content
Glama

Domain DNS WHOIS Email Check

domain_facts
Read-onlyIdempotent

Domain lookup and due diligence (DNS, WHOIS/RDAP, email security): give a domain or hostname, get DNS records (A, AAAA, MX, NS, TXT, CAA), SPF, DMARC, DKIM and MTA-STS email-auth posture, HTTPS/HSTS status, and registrar, creation and expiry dates from registry RDAP. Use when you need the domain's registration dates, registrar, DNS or email-auth posture. No personal data. Signed receipt. Price: $0.003 per call via x402 (USDC on Base or XRP on XRPL). The response includes a provenance block (sg-provenance/1): each fact carries its source, source URL, retrieval time and limits; evidence only, no score, rating or verdict. Example arguments: {"domain":"example.com"}.

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

Input Schema

NameRequiredDescriptionDefault
domainYesRegistrable domain or full hostname

Output Schema

NameRequiredDescriptionDefault
dataNoDNS records, email-auth posture (SPF, DMARC, DKIM, MTA-STS), HTTPS/HSTS and registry RDAP dates and registrar for one domain
receiptNoEd25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt. New receipts carry a signed `evidence` object: service_version, data_timestamp, validation, terms_version, terms_hash, provenance_hash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), and the description adds substantially more: a paid call at $0.003 via x402 (USDC on Base / XRP on XRPL), a signed receipt, a 'provenance' block with per-fact source, URL, retrieval time and limits, and an explicit 'evidence only, no score, rating or verdict' stance. The payment/auth requirement and the no-verdict epistemic framing are exactly the behavioral facts an agent cannot get from structured fields.

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 capability is front-loaded in the opening clause and every subsequent sentence carries distinct information (scope, trigger, privacy, cost, response shape, example). It is dense and slightly run-on with the long enumeration of record types, but nothing is truly redundant.

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, the description need not explain return values, yet it usefully characterizes the provenance block and its evidence-only limits. Pricing and payment rails are disclosed. The only thin area is failure behavior (malformed domains, unregistered domains) and any rate limiting beyond per-call cost.

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 coverage is 100% and the single `domain` parameter is already documented as 'Registrable domain or full hostname' with a pattern constraint. The description's 'give a domain or hostname' and the `{"domain":"example.com"}` example reinforce the expected input form but add no new semantics. Baseline 3 applies when the schema does the heavy lifting.

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 description names a specific verb+resource ('Domain lookup and due diligence') and enumerates the concrete artifacts returned (A/AAAA/MX/NS/TXT/CAA records, SPF, DMARC, DKIM, MTA-STS, HTTPS/HSTS, registrar and RDAP dates). It is clear what the tool does, but it does not differentiate itself from the sibling tool `whois`, which likely overlaps on the registration-data subset.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use when you need the domain's registration dates, registrar, DNS or email-auth posture' gives a clear trigger condition an agent can match against. There are no explicit exclusions or named alternatives, so the agent is left to infer when `whois` or `sanctions_address` would be the better pick.

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