Skip to main content
Glama

dns_zonefile_check

Read-only

DNS zone file audit — Offline audit of a BIND-style DNS zone file (text=, or url= to a raw file; optional origin=). Parses $ORIGIN/$TTL, multi-line SOA and every common record type, then checks SOA timers and serial, apex NS count and glue, CNAME at the apex or next to other records, NS/MX targets that are IPs or CNAMEs, missing trailing dots (mail.example.com.example.com), subdomain-takeover-prone CNAMEs (S3, Azure, Heroku, GitHub Pages, Netlify...), private IPs in a public zone, SPF (+all, ?all, multiple records, over 10 lookups), DMARC p=none or missing, CAA, wildcards, TTL extremes and duplicates. Returns PASS/REVIEW/FIX REQUIRED/BROKEN with score, grade and line-numbered findings with fixes. Nothing is queried. Price: $0.006 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
textYes$ORIGIN example.com. $TTL 3600 @ IN SOA ns1.example.com. hostmaster.example.com. 2026112201 7200 3600 1209600 3600 @ IN NS ns1.example.com. @ IN NS ns2.example.net. ns1 IN A 192.0.2.1 @ IN MX 10 mail.example.com www IN CNAME example.com. www IN A 192.0.2.11 old IN CNAME myapp.herokuapp.com. @ IN TXT "v=spf1 include:_spf.google.com +all"

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?

The description goes well beyond the annotations by spelling out the full check matrix, the four-tier verdict scale (PASS/REVIEW/FIX REQUIRED/BROKEN) with score, grade and line-numbered findings, and even the price — all information the agent cannot get from readOnlyHint/openWorldHint. However, "Offline audit" and "Nothing is queried" sit in mild tension with openWorldHint=true, and the cost note does not say when or whether payment is required up front. A 3 reflects strong value-added disclosure undercut by that unresolved offline/network framing.

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?

The core claim and input mode are front-loaded, and the check inventory is dense but each clause names a distinct failure class, so little is filler. It is a single long run-on paragraph that would read better as a list, which keeps it short of a 5.

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 self-contained parser/validator with no output schema, the description supplies the return shape (status, score, grade, line-numbered findings with fixes) that would otherwise be missing. The remaining gap is the parameter mismatch with the schema, which leaves the agent unsure how to pass a URL or origin.

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

Parameters2/5

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

Schema coverage is 100% and the single parameter is documented with a full zone-file example, so the schema already carries the semantics. The description instead introduces "url=" and "optional origin=", parameters that do not exist in the schema (which requires only text), which can lead an agent to send arguments the tool will reject. That is a real cost rather than added meaning.

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?

"Offline audit of a BIND-style DNS zone file" gives a specific verb (audit) and resource (zone file) and immediately separates it from live-query siblings such as dns_lookup and dns_propagation. The enumerated check list (SOA timers, apex NS, CNAME, SPF, DMARC, CAA...) makes the scope unmistakable within the first two sentences.

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 operating mode ("Offline audit", "Nothing is queried"), which tells the agent this validates supplied text rather than resolving a domain, so it is clearly distinct from the dns_lookup/dns_propagation family. What it does not do is name an explicit alternative or state when-not to use it, so the routing signal is clear but not fully comparative.

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