Skip to main content
Glama

Live WHOIS lookup

liveWhoisLookup
Read-onlyIdempotent

Get the current WHOIS registration record for a domain, queried live from WHOIS servers and RDAP. Use this to find who owns a domain now, its registrar, creation and expiry dates, name servers or status. For past owners and changes over time use whoisHistory. For many domains at once use bulkWhoisLookup. To find domains owned by a person, email or company use reverseWhoisLookup. To check whether an unregistered name can be bought use domainAvailability. Pass a bare domain (example.com), not a URL. Returns registrar and registry details, creation/update/expiry dates, registrant, admin and technical contacts (often privacy-redacted), name servers, domain status flags and the raw WHOIS text. When the registrar does not answer, the result is marked as a partial record (HTTP 206); when no live lookup works, as the latest stored record (HTTP 210). Behavior: read-only. Makes one request to the WhoisFreaks API using your WhoisFreaks API key (the WHOISFREAKS_API_KEY environment variable, or on the hosted server the key sent with the request) and uses that account's API credits; nothing is created or changed. If the call fails, the result is a short message instead of data, for example: key invalid, or plan or credits used up (HTTP 401), domain extension not supported (HTTP 403), no data found (HTTP 404), or rate limit reached (HTTP 429).

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": {
      "domainName": "<domainName>"
    },
    "name": "liveWhoisLookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format. Default: json
domainNameYesDomain name to look up. Accepts: example.com | https://example.com | http://example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety bar is low, yet the description still adds substantial behavior: it names the upstream API, the auth mechanism (WHOISFREAKS_API_KEY or per-request key), that calls consume account credits, and that nothing is created or changed. It also discloses the fallback ladder with concrete HTTP signals (206 partial when the registrar doesn't answer, 210 latest stored record) and enumerates the failure outcomes (401/403/404/429) that come back as a short message instead of data.

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?

Structure is strong and front-loaded: purpose first, then routing rules, then input constraint, then return shape and failure codes. The routing sentence and the failure-code parenthetical are dense but each carries real decision value; the description is long mainly because it does a lot of work, though the status-code enumeration could be tightened.

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?

With no output schema, the description does the return-value job itself: fields returned, redaction caveat on contacts, raw WHOIS text, and the two degraded-record states. Auth, cost, failure modes and input form are all covered, leaving nothing an agent needs before calling it.

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

Parameters2/5

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

Schema coverage is 100%, so the baseline is 3, but the description does not add meaning for either parameter: the `format` enum (json/xml) is never mentioned. Worse, it instructs "Pass a bare domain (example.com), not a URL" while the schema's domainName description explicitly accepts https://example.com and http://example.com, which is a direct conflict that could make an agent reject a valid input.

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?

Opens with a specific verb and resource ("Get the current WHOIS registration record for a domain") and immediately scopes it as a live query, then enumerates what the record contains. It explicitly distinguishes itself from whoisHistory, bulkWhoisLookup, reverseWhoisLookup and domainAvailability, so an agent can pick it out of a 20+ sibling catalog without opening any 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?

Each alternative is paired with the condition that selects it: past owners and changes -> whoisHistory, many domains -> bulkWhoisLookup, domains by person/email/company -> reverseWhoisLookup, unregistered name -> domainAvailability. That is explicit when-to-use and when-not-to-use routing rather than implied context.

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.