Skip to main content
Glama

dns_lookup_batch

Read-only

Resolve DNS for up to 25 hostnames — Bulk DNS: resolve up to 25 hostnames for up to 4 record types (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA; default A) in one call via DNS-over-HTTPS. Returns records per name, which names do not resolve, IPs shared between names and (with MX) the mail provider each domain uses. Pass ?names= (comma-separated) and optional &types=A,MX. Price: $0.006 USDC (Base, 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": {
      "names": "<names>"
    },
    "name": "dns_lookup_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYese.g. github.com,example.com,cloudflare.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already cover read-only, open-world, non-destructive behavior, and the description layers on substantive context: resolution runs over DNS-over-HTTPS, results include unresolved names and IPs shared between names, MX responses surface the mail provider, and each call costs $0.006 USDC paid via x402 on Base. The payment requirement in particular is behavior an agent cannot learn from the annotations or schema and could easily trip over.

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 action is front-loaded in the opening clause and the rest of the sentence is dense with usable detail rather than filler. It is a single run-on block that repeats the "up to 25 hostnames" scope twice, so a slightly tighter structure would earn a 5.

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 no output schema, the description does the heavy lifting of explaining return values — per-name records, failures, shared IPs, MX provider — which is exactly what an agent needs. The only real gap is the undocumented `types` parameter and the absence of any note on error or partial-failure behavior when some names fail to resolve.

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 `names` property already carries an example, so the baseline is 3. The description adds the meaningful detail that names are comma-separated, but it also documents a `types` query parameter ("&types=A,MX, default A") that does not appear in the input schema, which could send an agent looking for a field that isn't there.

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?

"Resolve DNS for up to 25 hostnames" gives a concrete verb and resource, and the bulk scope (25 names, multiple record types in one call) makes it distinguishable from a single-hostname dns_lookup sibling. It stops short of explicitly naming the sibling to use for a single lookup, so the differentiation must be inferred from the batch wording.

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

Usage Guidelines3/5

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

The cap of 25 hostnames and the option to request up to 4 record types implicitly signal when this batch tool is appropriate. There is no explicit "use X instead for a single hostname" routing, no note on how unresolvable names are counted against the limit, and no guidance on when the shared-IP or MX analysis output is worth requesting.

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