Skip to main content
Glama

dns_lookup

Retrieve DNS records for any domain. Query multiple record types like A, MX, TXT to diagnose email issues, verify ownership, and check propagation.

Instructions

Look up DNS records for a domain across multiple record types.

Queries authoritative DNS servers for the specified record types and
returns all matching records with TTL values. Useful for diagnosing
email deliverability (MX records), verifying domain ownership (TXT),
tracing CDN configuration (CNAME), and checking propagation status.

Args:
    domain: Domain name to look up (e.g. 'example.com', 'mail.example.com').
    record_types: Comma-separated record types to query. Supported:
        A (IPv4 addresses), AAAA (IPv6), MX (mail servers),
        TXT (verification, SPF, DKIM), NS (nameservers),
        CNAME (aliases), SOA (zone authority). Default: 'A'.
        Example: 'A,MX,TXT' to check all email-related records at once.

Returns:
    records: List of DNS records, each with type, value, and ttl.
    query_time_ms: How long the DNS resolution took.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
record_typesNoA
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It states the tool queries authoritative DNS servers and returns records with TTL and query time, implying a read-only network operation. However, it omits details like rate limits, caching behavior, or error handling, leaving some transparency gaps.

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?

The description is well-structured with clear sections (Args, Returns), uses bullet points for clarity, and every sentence adds value. It is appropriately succinct for the complexity of the tool.

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?

Given the simple 2-parameter schema and no output schema or annotations, the description covers the tool's purpose, parameters, return format, and use cases comprehensively. Minor omissions like error handling or authentication requirements are acceptable for a read-only DNS lookup tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the tool description extensively documents both parameters: domain with examples, record_types with supported types and detailed explanations (including defaults and example values). This adds significant meaning beyond the schema.

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?

The description clearly states the tool's function: 'Look up DNS records for a domain across multiple record types.' It also lists specific use cases (email deliverability, domain ownership, CDN configuration, propagation status), distinguishing it from sibling tools like whois_lookup or ssl_check.

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

Usage Guidelines4/5

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

The description explicitly mentions when the tool is useful (diagnosing email deliverability, verifying domain ownership, etc.), providing practical context. However, it does not explicitly state when not to use it or mention alternative sibling tools, which would improve guidance.

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/ForeverTools/kiprio-mcp'

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