Skip to main content
Glama
The Network Tools MCP Server

The Network Tools MCP Server

dns_lookup

Look up A, AAAA, MX, TXT, CNAME, NS, or SOA DNS records for a domain via RFC-compliant DNS over HTTPS to verify configurations and troubleshoot resolution issues.

Instructions

Query authoritative DNS records (A, AAAA, MX, TXT, CNAME, NS, SOA) for any domain using 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It does disclose useful behavior — that resolution is RFC-compliant and happens over DNS over HTTPS rather than local resolver — which implies a safe, remote read. It omits what happens on NXDOMAIN, rate limits, and whether results come from a single resolver.

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?

One front-loaded sentence with no filler. The verb, resource, supported types, and transport mechanism are all packed in without redundancy.

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 two-parameter read-only lookup with full schema coverage and no output schema, the description covers purpose, scope, and transport adequately. It could mention that ALL returns every record set, but the schema default already conveys that.

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% and the enum already documents every record type plus the ALL default. The description restates the same list and adds only the generic "for any domain"; it adds no syntax, wildcard, or IDN guidance beyond 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?

States a specific verb and resource ("Query authoritative DNS records") and enumerates the record types, so an agent can immediately tell this is a DNS resolution tool rather than a WHOIS or TLS tool. It does not explicitly name a sibling, but the resource noun alone separates it from whois_lookup and ssl_certificate.

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. Notably, DMARC/SPF data lives in TXT records and dmarc_analyze is a sibling, yet the description never says whether to use this tool or that one for such lookups; the agent must infer this.

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