Skip to main content
Glama

Domain and DNS lookup

dns
Read-only

Returns A, AAAA, CNAME, MX, NS, TXT and CAA records, SPF and DMARC policies, and registration data from RDAP (registrar, created, expires, status, nameservers). Paid tool: $0.004 per call in USDC via x402 at GET https://x402-tools.com/v1/dns. Calling it here returns the endpoint, price and how to pay.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name, e.g. example.com.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the cost model, the currency and protocol (USDC via x402), the exact endpoint URL, and — critically — that an invocation here does not perform the lookup but returns the endpoint, price and payment method. That disclosure materially changes how an agent should call and interpret this tool.

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?

Three tight sentences, front-loaded with what data is returned, then the paid/x402 mechanics, then the caveat about what an actual call yields. Slightly dense in the middle clause but no sentence is filler.

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 one-parameter lookup tool with no output schema, it covers the record set, the payment requirement, the endpoint, and the effective return of a call. The only gap is that it doesn't describe the response shape when the lookup is actually performed at the endpoint.

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?

There is a single required parameter, and the schema already documents it at 100% coverage with an example ('example.com'). The description adds no further meaning about accepted formats, subdomains, or IDN handling, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the exact resource and its scope: A, AAAA, CNAME, MX, NS, TXT and CAA records, SPF/DMARC policies, and RDAP registration fields (registrar, created, expires, status, nameservers). This is a specific verb-plus-resource statement that lets an agent distinguish this tool from siblings like email_check or x402_check without opening the schema.

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

Usage Guidelines4/5

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

It clearly states the conditions of use: this is a paid tool at $0.004/call in USDC via x402, and calling it here returns the endpoint, price and payment instructions rather than the lookup results. It does not name an alternative (e.g., x402_preflight or x402_check) for the payment flow, so it stops short of explicit when/when-not routing.

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