Skip to main content
Glama

The Network Tools

DNS Record Lookup

dns_lookup
Read-only

Query authoritative DNS records (A, AAAA, MX, TXT, CNAME, NS, SOA) for a domain via RFC-compliant DNS-over-HTTPS.

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": {
      "domain": "<domain>"
    },
    "name": "dns_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesTarget domain name (e.g. "github.com")
recordTypeNoDNS record type to look up. Default is ALL.ALL

Output Schema

NameRequiredDescriptionDefault
dataYesStructured observation details
sourceYesUpstream authoritative data source or resolver queried
summaryYesConcise text summary of the network observation
observedAtYesISO 8601 UTC timestamp of the observation
limitationsYesHonest protocol and execution limitations
verificationUrlYesCanonical thenetworktools.com tool URL for manual verification

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds modest context about the transport ("RFC-compliant DNS-over-HTTPS") and that records are authoritative, but says nothing about caching, rate limits, resolver source, or what an "ALL" query returns.

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?

A single front-loaded sentence with no filler; the verb, resource, and supported types appear in the first few words. Nothing is redundant or padded.

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 two-parameter read-only query with full schema coverage and an output schema, the description supplies enough to call the tool correctly. The remaining gap is guidance on overlap with sibling DNS/email-record tools, which is a routing concern rather than a call-correctness one.

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 description coverage is 100%, so both parameters are fully documented in structured form, giving a baseline of 3. The description restates the record-type list already present in the enum and adds no new meaning such as how ALL aggregates results or whether domain accepts subdomains or trailing dots.

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?

States a specific verb and resource ("query authoritative DNS records ... for a domain") and enumerates the supported record types, which lets an agent map the tool to a DNS query task immediately. It does not, however, differentiate itself from overlapping siblings such as mx_lookup or spf_check that cover some of the same record types.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives, even though sibling tools (mx_lookup, spf_check, dmarc_check) overlap on MX and TXT records. The agent must infer routing from the tool name alone.

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