Skip to main content
Glama
oborseth

Official Porkbun MCP Server

Import DNS Records

import_dns_records
Idempotent

Bulk create DNS records on a Porkbun domain in one call for transferred domains. Use an exact list or a live scan; idempotent, safe to re-run, skips existing records.

Instructions

Create many DNS records on a Porkbun domain in one call — the companion to scan_dns_records for keeping a transferred domain working. Pass records to import an exact list (preferred when you read the zone from the old registrar's API), or omit it entirely to import whatever a live scan of the domain discovers. Idempotent: a record that already exists is reported in skipped, not failed, so this is safe to re-run and safe as a converge step. Individual failures are listed in failures while everything else still imports. NS and SOA entries are ignored on purpose — they describe the delegation, not the zone. Important: imported records have no effect until the domain actually points at Porkbun's nameservers, so check get_nameservers afterwards and use update_nameservers when the user is ready to cut over — when the domain is delegated elsewhere the response also says so in warnings. Maximum 500 records per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesPorkbun domain to create the records on, e.g. `example.com`
recordsNoExact records to create. Omit to import what a live scan of the domain finds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.39.4

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare idempotentHint=true and destructiveHint=false, but the description goes well beyond them: it explains that existing records land in `skipped` rather than `failed`, that partial failures are isolated in `failures`, that NS/SOA are deliberately ignored, that records are inert until nameservers point at Porkbun, that `warnings` reports delegation, and that the cap is 500 records. This is exactly the behavioral context annotations cannot carry.

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 verb and resource, and every sentence carries operational information (idempotency, failure isolation, nameserver caveat, limit). It is dense but slightly long, with the 500-record limit and NS/SOA note arriving after several other clauses.

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?

There is no output schema, so the description carries the full burden of explaining returns and it does so: `skipped`, `failures`, and `warnings` are all defined. Combined with the nameserver prerequisite and the batch limit, an agent has everything needed to invoke and interpret this tool correctly.

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?

Schema coverage is 100%, so the baseline is 3, and the schema already documents the omit-to-scan behavior of `records`. The description nonetheless adds decision value by stating when the explicit-list path is preferred (reading the zone from the old registrar's API), which is not in the schema.

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 specific verb and resource ('Create many DNS records on a Porkbun domain in one call') and immediately distinguishes itself from siblings by naming the batch nature and its companion scan_dns_records. An agent can separate it from create_dns_record (single) and list_dns_records (read) without opening any schema.

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 explicit branch conditions: pass `records` for an exact list (preferred when reading the zone from the old registrar's API), or omit it to import a live scan. It also spells out the follow-up workflow (check get_nameservers, then update_nameservers when cutting over), so when-to-use and sequencing are unambiguous.

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