Skip to main content
Glama

Bulk DNS lookup

bulkDnsLookup
Read-onlyIdempotent

Resolve the current DNS records of up to 100 domains, and the PTR records of up to 100 IP addresses, in one request. Use this instead of calling dnsLookup many times, for example to check the mail servers of a list of domains or to name a list of IPs from logs. Provide domainNames, ipAddresses, or both. For one domain or IP use dnsLookup. Lists longer than 100 go in several calls; files of up to 3 million entries are handled by the Bulk Tool in the WhoisFreaks billing dashboard, not by this tool. Costs 1 credit per domain or IP. A large batch can take a few minutes. Returns one entry per domain or IP, with the same record fields as dnsLookup. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bulkDnsLookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoRecord types to return: 'all' (the default), one type such as MX, or a comma-separated list such as a,mx,ns. Supported: A, AAAA, TXT, NS, MX, SOA, SPF.
formatNoResponse format. Default: json
cnameDepthNoHow many CNAME hops to follow before collecting records, 0 to 4. Default: 0
domainNamesNoDomain names to resolve, at most 100. Example: ["whoisfreaks.com", "jfreaks.com"]
ipAddressesNoIP addresses for reverse (PTR) lookups, at most 100. Example: ["1.1.1.1", "8.8.8.8"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, yet the description still adds substantial context beyond them: 1 credit per domain or IP, multi-minute latency on large batches, authentication via WHOISFREAKS_API_KEY or OAuth/request key, and that nothing is created or changed. It even enumerates failure modes (401-style key refusal, 403 unsupported TLD, 404 no data, 429 rate limit) and says failures return a short message rather than 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?

Front-loaded with scope, then limits, then cost, then return shape, then behavior and errors — a sensible ordering. It runs long, and the error-handling paragraph is dense, but nearly every sentence carries operational information an agent needs.

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 five-parameter bulk lookup with no output schema, the description covers cost, latency, batching limits, auth path, mutation safety, return shape (one entry per input, same fields as dnsLookup), and failure behavior. Nothing material is missing for correct invocation.

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 is 3, but the description adds a constraint the schema lacks: the required list is empty, and the text clarifies that domainNames, ipAddresses, or both must be supplied. It does not add meaning for type, format, or cnameDepth 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?

States a specific verb and resource: resolve current DNS records for up to 100 domains and PTR records for up to 100 IPs in one request. It explicitly contrasts with the sibling dnsLookup, so an agent can distinguish single-lookup from bulk-lookup without opening a 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 explicit when-to-use (check mail servers of a domain list, name IPs from logs), when-not-to-use (single domain/IP -> dnsLookup), and how to handle overflow (split into several calls, or use the dashboard Bulk Tool for files up to 3 million entries). Both the alternative and the selection condition are named.

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