Skip to main content
Glama

dns_lookup

DNS-over-HTTPS lookup (A/AAAA/MX/TXT/NS/CNAME/CAA) via Google Public DNS with Cloudflare fallback. Rejects IP literals and private names. Price $0.002 via x402.

Input Schema

NameRequiredDescriptionDefault
nameYesHostname to look up
typesNo
request_idNoOptional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavioral traits: primary and fallback resolvers, rejection of IP literals and private names, and a per-call price of $0.002 billed through x402. It omits rate limits, failure/error behavior, and the shape of the response.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: capability first, input constraints second, cost last. Every clause earns its place and nothing is repeated.

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?

For a simple stateless lookup with no output schema and no annotations, the description covers provider, valid input domain, and pricing — the things an agent needs before calling. The notable gap is that nothing describes the returned record structure, which the absent output schema would otherwise require.

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 67%, so the baseline is 3. The record-type list in the description duplicates the schema enum and the 'name' description already says 'Hostname to look up', so no meaning is added beyond what the schema provides; the optional idempotency key is documented only in the schema.

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?

Names a specific verb and resource (DNS-over-HTTPS lookup) and enumerates the record types returned, plus the upstream resolvers. It is clearly a DNS query tool rather than a validator, but it never distinguishes itself from the sibling name_resolve, which could plausibly overlap.

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?

Usage is only implied: the input-domain constraints ('Rejects IP literals and private names') tell the agent what will fail, but there is no explicit statement of when to pick this over name_resolve or address_validate.

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