Skip to main content
Glama

DNS record-set reading (paid: 0.003 RLUSD / 0.003 USDC on XRPL / 0.003 USDC on Base / 0.003 RLUSD on Base via x402)

dns_records
Read-only

Paid: 0.003 RLUSD or 0.003 USDC per call via x402 on XRPL mainnet (xrpl:0), or 0.003 USDC on Base (eip155:8453). Pay per call, solves one question: What DNS records does this name return right now? Raw answers for the given FQDN and types (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA), plus resolver id, rcode, TTLs when available, query_ms and observed_at. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.

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

Input Schema

NameRequiredDescriptionDefault
nameYesFQDN to query (not an IP, not localhost/.local)
typesNoComma-separated record types. Default A,AAAA. Allowed: A,AAAA,MX,TXT,NS,CNAME,SOA,CAA
payment_signatureNoOptional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false; the description's main added value is the per-call pricing, the x402 failure mode (isError with a PaymentRequired object and fresh invoiceId) and the retry vector, which are genuinely useful. It does not discuss caching, rate limits, or why idempotentHint is false despite a read-only query, so the disclosure is solid but not exhaustive.

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 answer question and return fields are well placed, but the opening price sentence duplicates the title's long pricing string almost verbatim and the settlement-network detail is repeated in both places. The remaining content is dense and earns its space, but the front-loading is spent on redundancy rather than on the core purpose.

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 only three parameters and no output schema, the description compensates by listing resolver id, rcode, TTLs, query_ms and observed_at as returned fields, plus the full payment handshake. What is left unstated is error behavior for invalid or non-resolving names and any rate limiting, which are minor for a read-only lookup.

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%, so the schema already documents all three parameters, including the FQDN constraint and the types list, which the description largely repeats. The one genuine addition is the explanation of how payment_signature relates to the first-call/retry cycle, which lifts it slightly but not beyond baseline-plus.

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 a specific verb+resource (DNS record lookup) and frames the exact question it answers: what records does this FQDN return right now. It enumerates the record types and the returned fields, so an agent can distinguish it from the other '*_reading' siblings 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 states the triggering condition clearly ('one question: What DNS records does this name return right now?') and explains the payment path and retry mechanism step by step. It does not name an alternative sibling or an explicit when-not-to-use case, which keeps it below a 5.

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