Skip to main content
Glama

middle.network: DNS, Email Auth (SPF/DKIM/DMARC/MTA-STS), WHOIS/RDAP, ASN & Network Tools

Zone file formatter

zone_format
Read-onlyIdempotent

Lint, validate, and tidy a BIND DNS zone file offline, returning the formatted zone text alongside TTL, SOA, record alignment, and syntax findings (uses optional domain as $ORIGIN fallback). Use on raw zone text before import; use zone_precheck to compare live DNS against proposed nameservers. Cost: 1 unit via middle.network.

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

Input Schema

NameRequiredDescriptionDefault
textYesA BIND-style zone file.
domainNoThe zone’s origin, when the file has no $ORIGIN line.

Output Schema

NameRequiredDescriptionDefault
dataNoTool-specific structured payload (records, timings, parsed fields, or scores).
toolNoCatalog tool identifier.
shareNoOptional shareable report link metadata.
statusNoOverall diagnostic verdict.
targetNoNormalised domain, IP, or input target.
limitedNoOptional list of upstream data sources that were rate-limited or unavailable.
summaryNoPlain-English and technical one-line summaries.
findingsNoOrdered diagnostic findings with severity and actionable fixes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavioral context beyond them: operation is offline, results include TTL/SOA/alignment/syntax findings, and there is a metered cost of 1 unit via middle.network. It stops short of describing error/failure behavior for malformed zone input.

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 with no waste: capabilities and outputs come first, then the usage/alternative routing, then cost. Nothing is repeated or padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained in detail, yet the description still summarizes them usefully. For a two-parameter, read-only formatter, nothing an agent needs in order to call it correctly is missing.

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 both 'text' and 'domain' are already documented in the input schema, including examples and length bounds. The description's 'optional domain as $ORIGIN fallback' largely restates what the schema already says, so it meets but does not exceed the baseline.

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?

Names a specific verb set (lint, validate, tidy) against a specific resource (BIND DNS zone file) and states the outputs produced (formatted text, TTL, SOA, alignment, syntax findings). It also distinguishes itself from the one sibling that could be confused with it, zone_precheck.

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

Usage Guidelines5/5

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

Explicitly states when to use it ('on raw zone text before import') and names the alternative with its condition ('zone_precheck to compare live DNS against proposed nameservers'). An agent has a clear routing decision without opening either schema.

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.