Skip to main content
Glama

DNS records

dns-lookup
Read-only

A, AAAA, MX, NS and TXT records for a domain over DNS-over-HTTPS. Returns { domain, records: { A, AAAA, MX, NS, TXT } }: each record type as a list of strings. Price: 2 credits (1 credit = 1 US cent) per successful call; input that does not match the schema is rejected before billing.

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
domainYesPublic domain name, e.g. example.com; IP literals and private suffixes (.local, .internal, .lan, .corp) are refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only and open-world behavior, and the description adds real value beyond them: the exact return shape, the billing model (2 credits per successful call, 1 credit = 1 cent), and the fact that schema-invalid input is rejected before billing. It stops short of describing behavior for domains with missing record types (empty lists vs omission) or lookup failures.

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 what is returned, then the response shape, then cost and billing edge case — each sentence does work, especially the return shape since no output schema exists. The nested-type restatement in the return shape is slightly repetitive but justified by the absent output schema.

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?

With no output schema, the description supplies the return structure and type, plus pricing and billing-failure behavior, so an agent can call and interpret results. Gaps are minor: no mention of empty-record handling, timeouts, or response for a non-resolving domain.

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 'domain' parameter, including length bounds and the refusal of IP literals/private suffixes, so the schema carries the semantics. The description adds nothing further about the parameter, which is the baseline-3 case.

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 concrete resource (A, AAAA, MX, NS, TXT records for a domain) and the transport (DNS-over-HTTPS), so the agent knows exactly what it retrieves. It does not distinguish itself from the sibling rdap-lookup, which also takes a domain, leaving a small disambiguation gap.

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 by the resource: use it when you need DNS records for a domain. There is no explicit when-to-use, when-not-to-use, or comparison against rdap-lookup, though the schema-level note about refusing IP literals and private suffixes adds a partial boundary.

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