Skip to main content
Glama

Domain availability check

domainAvailability
Read-onlyIdempotent

Check whether a domain name is available to register, using both DNS and WHOIS data. Use this before suggesting or buying a domain name. Set suggestions=true to also get alternative names with other extensions, each marked available or not; count sets how many (5-100). To check a list of names, or one name across many extensions, use bulkDomainAvailability. For details about who owns a registered domain use liveWhoisLookup. Costs 1 credit, plus 1 credit per 5 suggestions. Returns the availability (AVAILABLE or UNAVAILABLE). With suggestions it returns a list of names instead, the domain asked about among them, each AVAILABLE or UNAVAILABLE. Availability can change at any moment, and this check does not reserve the domain. Behavior: read-only. Makes one request to the WhoisFreaks API for your WhoisFreaks account (identified by the WHOISFREAKS_API_KEY environment variable or, on the hosted server, by the API key sent with the request or the account connected with OAuth) 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: the API key was refused (invalid, or plan or credits used up) with what to do next, 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": {
      "domain": "<domain>"
    },
    "name": "domainAvailability"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of suggestions to return when suggestions=true, 5 to 100. Default: 5
domainYesDomain name to check availability for. Example: whoisfreaks.com
formatNoResponse format. Default: json
suggestionsNoIf true, also return alternative domain names with other extensions and whether each is available. Default: false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Well beyond the annotations, it discloses cost (1 credit plus 1 per 5 suggestions), the auth path (WHOISFREAKS_API_KEY or hosted key/OAuth), that availability can change and is not reserved, and concrete failure modes with HTTP codes (403, 404, 429). Minor gap: it doesn't say how a rate-limit failure should be retried or whether retries consume credits.

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 purpose, then when-to-use, then alternatives, then cost and return shape — a sensible priority order. It loses a point for mild repetition (the AVAILABLE/UNAVAILABLE enumeration appears twice) and a long error-code sentence that 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 carries the return contract and does so fully: the scalar result, the alternative list shape when suggestions=true, plus cost, auth, and error behavior. An agent has everything needed to call this correctly and interpret failures.

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 already 100%, so baseline would be 3, but the description adds meaning the schema doesn't: the interaction between suggestions and count (count sets how many, 5-100) and the fact that suggestions changes the response shape entirely. Only 'format' goes unmentioned, which is self-explanatory from the enum.

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?

States a specific verb and resource ('check whether a domain name is available to register') plus the data sources used (DNS and WHOIS). It explicitly separates itself from two siblings by name — bulkDomainAvailability for lists/multi-extension, liveWhoisLookup for ownership details — so an agent can route 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?

Gives an explicit when-to-use ('before suggesting or buying a domain name') and names the exact alternative for the two adjacent cases: list checks or one name across many extensions go to bulkDomainAvailability, ownership details go to liveWhoisLookup. Nothing about tool selection is left to inference.

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