Skip to main content
Glama
oborseth

Official Porkbun MCP Server

Set Cloudflare Proxy

set_cloudflare_proxy
DestructiveIdempotent

Enable or disable the Cloudflare proxy for a domain's DNS records to control whether traffic is routed through Cloudflare or served DNS-only.

Instructions

Turn the Cloudflare proxy (orange cloud) on or off for a domain's DNS records. NOTE: connecting a domain deliberately imports every record DNS-only (grey cloud), because changing how traffic is served at the same time as changing who serves DNS makes failures hard to diagnose — so proxying is a separate, explicit step, best done AFTER confirming the site still works. Defaults to every proxiable record; pass records to target specific names ("@" = apex, bare labels like "www" are expanded). Only A/AAAA/CNAME can be proxied; anything else comes back under skipped with a reason rather than failing. Proxying hides the origin IP, so if MX points at a name you're proxying, mail to it breaks — that comes back in warnings. Reversible: call again with enabled=false. Use dry_run to preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain whose Cloudflare records to change.
dry_runNoPreview which records would change, without changing them.
enabledYestrue = proxy through Cloudflare (orange cloud); false = DNS-only (grey cloud).
recordsNoOptional: limit to these names. "@" = apex; bare labels are expanded (e.g. ["@","www"]).

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 already mark it destructive and idempotent, but the description adds substantial behavioral context: default scope, only A/AAAA/CNAME proxiable, skipped/warnings behavior, MX breakage risk, reversibility via enabled=false, and dry_run preview. That goes well beyond structured metadata.

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?

Front-loads the purpose in the first sentence and then adds only operationally necessary detail: default behavior, record targeting, type limits, warning behavior, reversibility, and dry_run. No sentence is wasted for a safety-sensitive DNS mutation.

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?

With no output schema, the description still previews returned concepts such as skipped and warnings, and covers mutation semantics, safety, idempotence, and preview behavior. An agent has enough information to invoke it correctly and safely.

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; the description still adds meaning for records (defaults to every proxiable record, supports @ and bare labels) and enabled (reversible by calling with false) beyond the schema text. It adds less for domain/dry_run, but enough to exceed 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?

States the exact operation—turning the Cloudflare proxy on or off for a domain's DNS records—and names the relevant objects (DNS records, orange/grey cloud). It distinguishes itself from sibling Cloudflare tools by being specifically the proxy toggle rather than record CRUD or connection setup.

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?

Explains the operational context: proxying is a separate explicit step best done after confirming the site works, and dry_run can preview it. It does not explicitly name alternatives such as edit_cloudflare_record or state when not to use it beyond the diagnostic rationale.

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