Skip to main content
Glama
oborseth

Official Porkbun MCP Server

Scan DNS Records

scan_dns_records
Read-onlyIdempotent

Discover the DNS records a domain publishes by querying its live nameservers, so you can recreate them before a registrar transfer makes them unreadable. Reads only.

Instructions

Discover the DNS records a domain currently publishes by querying its live authoritative nameservers. Writes nothing. Use this before moving a domain to Porkbun: a registrar transfer carries only the delegation, never the zone contents, so the old registrar's records become permanently unreadable the moment it stops answering for the domain — and a domain whose records were never recreated goes dark right then (website down, mail bouncing). Scan first, review, then call import_dns_records, and only then change nameservers. The scan probes a wide list of well-known names (apex, common subdomains, MX, DKIM selectors, provider verification hosts) but cannot enumerate a zone — DNS has no listing operation — so treat it as thorough, not exhaustive, and tell the user that. If the losing registrar has its own API, reading the zone from there is authoritative: do that with the user's own credentials (they must never be sent to Porkbun) and pass the records to import_dns_records instead. Limited to 20 calls per hour per account, since each call is roughly 90 DNS lookups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain to inspect, e.g. `example.com`. Does not need to be registered at Porkbun yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.39.4

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover readOnly/idempotent/openWorld, but the description adds what they can't: writes nothing, a 20-calls-per-hour rate limit, ~90 lookups per call, and the critical limitation that it cannot enumerate a zone, so results are thorough but not exhaustive. It also explains the destructive consequence of skipping the scan.

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?

Front-loaded with the core action, then the workflow rationale, limitation, and rate limit. The prose is long but each block earns its place; the middle-transfer narrative is slightly more expansive than strictly needed.

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?

No output schema exists, yet the description conveys what a scan yields (well-known names, MX, DKIM selectors, verification hosts) and its limits. It stops short of describing the actual return shape, which is the only notable gap.

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?

Only one parameter, and schema coverage is 100% with a good example and the note that the domain need not be registered at Porkbun. The description adds no syntax beyond the schema, so baseline 4 applies for a zero-ambiguity single-param tool.

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?

States a precise verb+resource: discover DNS records by querying the domain's live authoritative nameservers. The mechanism (live NS query) distinguishes it from sibling list_dns_records, which reads records stored at Porkbun.

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?

Gives an explicit workflow order — scan, review, call import_dns_records, then change nameservers — and explains why. It also names an alternative path when the losing registrar has its own API, with the credential-handling caveat (user's own credentials, never sent to Porkbun).

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