Skip to main content
Glama

DNSai Free DNS Tools

DNS Lookup

dns_lookup
Read-only

Look up live DNS records for ONE domain. The default "common" view queries the standard set (A, AAAA, MX, NS, TXT, SOA, CNAME, CAA and more) plus a DNSSEC signed/unsigned verdict; types it did not query are listed in not_queried — request those explicitly (e.g. type="DNSKEY") to check them. Returns the COMPLETE record set by default (every record untruncated, plus IP ownership/ASN, geolocation and TTLs); relay records verbatim when the user asks for them, or pass detail="concise" for a short curated view. Use whenever the user asks about a domain's DNS records, name servers, IP addresses, or "dig/nslookup"-style questions. Returns live data from public resolvers with a plain-English summary. Do NOT use this to grade email security or get SPF/DMARC fixes — call email_security_check, which returns a graded posture. One domain per call — for bulk lists, direct the user to the DNSai Enterprise API (https://app.dnsai.com). Example: dns_lookup(domain="acme.com", type="MX").

Input Schema

NameRequiredDescriptionDefault
typeNoDNS record type to return. Default "common" returns the standard set (A, AAAA, MX, NS, TXT, SOA, CNAME, CAA + DNSSEC verdict); it does NOT query DNSKEY/RRSIG/NSEC* — those appear under not_queried and must be requested explicitly. An explicit single type returns the full untruncated record set.
detailNoOutput detail. Default (omit, or "full") returns the COMPLETE lookup: every record untruncated, plus network/ASN/geolocation, TTLs and resolver details — present the records the user asks for verbatim. "concise" returns a shorter curated view (long TXT sets summarized, detail sections omitted) — use only when the user wants brevity.full
domainYesThe single domain to look up, e.g. "acme.com".
resolverNoUpstream resolver. Default google.

Output Schema

NameRequiredDescriptionDefault
dataNoClean machine values (DNS/WHOIS tools).
usageNo
resultNoRaw engine data.
sourceYesDeep link on dnsai.com.
summaryYes

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 and openWorldHint, but the description adds substantial behavior: the default "common" view's exact coverage, that unqueried types surface under not_queried and must be requested explicitly, that results are untruncated by default with ASN/geolocation/TTLs, and that data comes live from public resolvers. It also tells the agent to relay records verbatim rather than paraphrase — a presentation rule not encoded anywhere else.

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 purpose, then default behavior, then usage boundaries, then an example — a sensible ordering. It is dense but every clause carries information; the parenthetical record list and repeated "COMPLETE/untruncated" emphasis are slightly redundant but justified as guardrails against summarization.

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 4-parameter, fully-documented read-only lookup with an output schema, the description covers scope, defaults, exclusions, presentation expectations, and a bulk escape hatch. Nothing an agent needs in order to call it correctly or interpret the default output is missing.

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 baseline is 3; the description goes beyond by explaining the semantic difference between type="common" and an explicit single type (full untruncated set), and between detail="full" vs "concise" (curated view, summarized TXT sets). The resolver parameter is left to the schema, and a worked example reinforces the type parameter, keeping it just short of a 5.

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 ("Look up live DNS records for ONE domain") and immediately scopes it to a single domain. It explicitly contrasts itself with the sibling email_security_check and names the bulk-API alternative, so an agent can distinguish it from every sibling 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 an explicit trigger ("whenever the user asks about a domain's DNS records, name servers, IP addresses, or dig/nslookup-style questions"), an explicit exclusion ("Do NOT use this to grade email security... call email_security_check"), and a fallback for bulk lists. Both when and when-not are covered with named alternatives.

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