Skip to main content
Glama

DNS lookup for a domain in one call

dns_lookup
Read-onlyIdempotent

Retrieves public DNS records (A, AAAA, CNAME, MX, NS, TXT, CAA, SOA) for a domain in one call, helping you inspect resolution and mail/web configuration without an API key.

Instructions

DNS lookup for a domain in one call: A, AAAA, CNAME, MX, NS, TXT, CAA and SOA records from public resolvers.

ES: Registros DNS públicos de un dominio en una sola llamada: A, AAAA, CNAME, MX, NS, TXT, CAA y SOA, consultados en resolvers públicos.

Free tool (no API key, no payment). Official Spanish/EU open data.

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

Input Schema

NameRequiredDescriptionDefault
dominioYesDominio, p. ej. ejemplo.es

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower; the description still adds real context beyond them by disclosing the data source ('public resolvers', i.e., non-authoritative) and the auth requirement ('no API key, no payment'). It stops short of noting limits such as rate limits, behavior on invalid/nonexistent domains, TTLs, or whether all record types are always returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The English first sentence is well front-loaded and information-dense. However, the full Spanish restatement roughly doubles the length without adding new information for most agents, and the trailing line 'Official Spanish/EU open data' is loosely related to a DNS resolver tool and dilutes the payload.

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 single-parameter, read-only lookup with rich annotations and no output schema, the description covers what the tool returns, where the data comes from, and that it is free/unauthenticated — enough to call it correctly. Gaps around error behavior, rate limits, and result format are minor given the tool's simplicity and annotation coverage.

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 coverage is 100% for the single 'dominio' parameter with an inline example ('ejemplo.es'), so the schema does the documentational work. The description never elaborates on the parameter — no guidance on IDN/punycode, subdomains, or whether a scheme/prefix is allowed — so it adds no meaning over the structured field.

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 names a specific verb + resource ('DNS lookup for a domain') and enumerates the exact record types returned (A, AAAA, CNAME, MX, NS, TXT, CAA, SOA) from public resolvers, so an agent knows precisely what data comes back. It does not explicitly differentiate itself from nearby siblings like domain_whois_rdap or ssl_certificate_check, leaving that distinction to inference from the record-type list.

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?

Usage is only implied: 'lookup for a domain' suggests calling it when DNS records for a single domain are needed, and 'Free tool (no API key, no payment)' sets a useful constraint. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g., use ssl_certificate_check for certificate data), so the agent must infer routing.

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