Skip to main content
Glama

Crypto & Web Data API for Agents

DNS records via Cloudflare DoH

security_dns
Read-only

DNS records via Cloudflare DoH. Returns DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) for a domain via Cloudflare DNS-over-HTTPS. Price $0.005 per call (x402: USDC on Base or Solana).

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

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
nameYesDomain name
typeNoDNS record typeA

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior: cost of $0.005 per call and the x402 payment requirement (USDC on Base or Solana), which explains the otherwise cryptic `tx` parameter. It does not mention rate limits, caching, or error behavior, keeping it short of a 5.

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 the operation and result format before pricing. The first sentence mostly restates the title, which is the only real waste.

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 three simple parameters, full schema coverage, and no output schema, the definition covers what is needed: what is returned, over what protocol, and what it costs. Only operational details like failure modes or response ordering are absent, which is minor here.

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 `name`, `type` (with its allowed values and default A), and `tx`. The description's mention of supported record types and x402 payment adds light context for `type` and `tx` but no syntax or format detail beyond the schema, 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 specific resource and mechanism: 'Returns DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) for a domain via Cloudflare DNS-over-HTTPS.' An agent can tell this is a DNS lookup rather than a registration lookup (security_rdap) or a generic domain tool, though no sibling is named 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 routing to alternatives such as security_rdap or domain for related lookups. Usage is only implied by the tool name and the phrase 'for a domain'.

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