Skip to main content
Glama

x402_dns-cloudflare_get_v1_resolve

Resolve A, AAAA, MX, TXT, NS, and CNAME records for a domain via Cloudflare DNS-over-HTTPS JSON API, returning JSON answers for pay-per-call lookups.

Instructions

dns-cloudflare — Cloudflare DNS-over-HTTPS JSON API (cloudflare-dns.com/dns-query): resolve A, AAAA, MX, TXT, NS, CNAME [GET /v1/resolve] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/resolve?name=example.com&type=A

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_dns-cloudflare_get_v1_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the burden and it does disclose real behavioral facts: the GET method, the endpoint, and notably the price ($0.005 USDC) and supported chains, which an agent needs before paying. It omits error/failure behavior, rate limits, and response shape, leaving meaningful gaps for a paid call.

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?

Two dense sentences that front-load provider, protocol, and record types, then the endpoint, price, and an example. The chain list and path are compact and nothing is redundant with the schema.

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?

With no output schema and a generic, property-less input schema, the description should ideally describe the returned JSON DNS answer structure. It gives enough to invoke the call correctly (name/type, price, endpoint) but not enough to interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema is a generic body/query pair with no declared properties, so the description's example "/v1/resolve?name=example.com&type=A" is the only place the actual query keys (name, type) are revealed. That is genuine added meaning beyond the schema, though format details such as value syntax for type are still 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?

States a specific verb and resource: "resolve A, AAAA, MX, TXT, NS, CNAME" against Cloudflare's DNS-over-HTTPS API at cloudflare-dns.com/dns-query. The provider naming implicitly distinguishes it from the dns-google sibling, though it never explicitly says so.

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 implied by naming the provider and endpoint plus a concrete example query, so an agent can infer this is the Cloudflare-flavored DNS resolver. There is no explicit when-to-use / when-not-to-use guidance or a pointer to the dns-google alternative for comparison.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools