Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Create Cloudflare Record

create_cloudflare_record

Creates a DNS record in a domain's Cloudflare zone so the change actually resolves for domains moved to Cloudflare. Supports A, AAAA, CNAME, TXT, MX, SRV, CAA, proxying and dry runs.

Instructions

Create a DNS record in a domain's Cloudflare zone. IMPORTANT: for a domain that has been moved to Cloudflare this is the tool that changes what actually resolves — create_dns_record writes Porkbun's zone, which no longer answers for it. name accepts "@" for the apex or a bare label like "www". ttl: 1 means Cloudflare-automatic. MX requires priority. proxied (orange cloud) applies to A/AAAA/CNAME only. Record types Cloudflare models as structured objects (SRV, CAA, …) need a data object instead of content. Supports dry_run.

Input Schema

NameRequiredDescriptionDefault
ttlNo1 = automatic (default), otherwise 60-86400.
dataNoStructured value for SRV/CAA/etc, shaped as Cloudflare documents it.
nameNo"@" for the apex, a bare label like "www", or a full hostname. Defaults to the apex.
typeYesA, AAAA, CNAME, TXT, MX, NS, PTR or SPF for a plain value; structured types need `data`.
domainYesDomain whose Cloudflare zone to write to.
commentNoNote stored on the record.
contentNoThe value the record points at. Required unless `data` is given.
dry_runNo
proxiedNoRoute through Cloudflare's proxy. A/AAAA/CNAME only.
priorityNoRequired for MX; lower is preferred.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.39.4

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), so the bar is lower, yet the description still adds operational detail: dry_run support, that ttl:1 is Cloudflare-automatic, that proxied only applies to A/AAAA/CNAME, and that MX needs priority. It doesn't mention auth/permission requirements or what happens on duplicate records, so not a 5.

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?

Every sentence is load-bearing: the routing rule comes first, then the field semantics in backticked shorthand. No filler, no restating the title.

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 10-parameter write tool with no output schema, the description covers dry_run, the proxied limitation, TTL semantics, MX priority and the structured-data branch. It omits what the tool returns (record id/confirmation) and any propagation/error behavior, which an agent mutating DNS would benefit from.

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 90% and the schema already documents name, ttl, proxied, priority and data, so the description's restatement is partly redundant. It does add cross-parameter rules the schema only states piecemeal (MX requires priority; structured types need a data object instead of content), which is real semantic value in a 10-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 specific verb and resource ('Create a DNS record in a domain's Cloudflare zone') and immediately distinguishes it from the closest sibling create_dns_record, naming the state ('a domain that has been moved to Cloudflare') that selects this tool. An agent can route between the two DNS-write tools without opening either 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?

The 'IMPORTANT' sentence is an explicit when-to-use-this-instead-of-that rule: use this for a domain on Cloudflare, because create_dns_record writes Porkbun's zone which no longer resolves for it. Exclusions and the alternative are both named.

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