Skip to main content
Glama

AgentPay — Pay-per-call AI Microservices

dns-lookup

dns-lookup
Idempotent

DNS records for any domain - A/AAAA/MX/TXT/NS/CNAME via DNS-over-HTTPS ($0.005 USDC per call)

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
typesNo
domainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, idempotentHint=true and destructiveHint=false; the description adds two things they do not carry — the DNS-over-HTTPS transport and a concrete price of $0.005 USDC per call, which is important for a billed tool. It does not say what happens when `types` is omitted, how invalid record types are handled, or what the failure mode is for nonexistent domains.

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 line with no filler: the resource, the supported record types, the transport, and the price each earn their place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter lookup with no output schema, the description covers purpose, record types, transport and cost adequately. The notable gap is default behavior for the optional `types` array, which an agent needs in order to call the tool correctly in the minimal case.

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 0%, so the description must compensate, and it partly does by enumerating the valid record types that the `types` array accepts. It adds nothing about the `domain` parameter's expected syntax (bare domain vs. URL vs. subdomain) nor about the default record set when `types` is absent.

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 states the resource (DNS records for any domain) and enumerates the supported record types A/AAAA/MX/TXT/NS/CNAME, so an agent knows exactly what this tool returns. It is clearly distinct from siblings like ens-resolve or ip-info, though it never names or contrasts them explicitly.

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 alternatives named. The only contextual signal is the per-call price, which helps an agent decide whether a lookup is worth the cost but does not steer selection between this and related lookup tools.

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