Skip to main content
Glama

dns.lookup

Resolve DNS records for a domain using public resolvers like Cloudflare, Google, Quad9, or OpenDNS, with support for A, AAAA, MX, TXT, NS, CNAME, and SOA record types.

Instructions

DNS records via public DNS-over-HTTPS resolvers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesFully-qualified domain name.
typesNoComma-separated list from A,AAAA,MX,TXT,NS,CNAME,SOA. Default: A.
resolverNo
Behavior2/5

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

No annotations are provided, so the description must inform about behavioral aspects. It only mentions 'public DNS-over-HTTPS resolvers', which implies a network call but does not disclose safety, rate limits, or that it is read-only. This leaves significant gaps.

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 description is a single concise sentence that front-loads key information. It could be slightly more detailed, but it avoids unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description lacks details about output format, return values, or error conditions. Since no output schema exists, the agent has no guidance on what to expect from the tool. This reduces completeness.

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?

The input schema already describes two parameters (host and types) with helpful details. The description adds no extra semantics. With 67% schema coverage, the baseline is 3, and the description does not improve upon it.

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?

The description clearly states it performs DNS lookups using public DNS-over-HTTPS resolvers. It specifies the core function but does not differentiate from sibling tools like domain.whois, which could confuse an agent.

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 description implies usage for querying DNS records but does not explicitly state when to use this tool over alternatives. Including guidance about when to use DNS lookup vs WHOIS lookup would improve clarity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/2s-io/sdk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server