Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Set Cloudflare Zone Settings

set_cloudflare_zone_settings
DestructiveIdempotent

Change editable Cloudflare zone settings—SSL, HTTPS rewrites, TLS version, cache, development mode—for a moved domain; dry-run and security-control exclusions are supported.

Instructions

Change Cloudflare zone settings for a moved domain. Only an allowlist is editable (ssl, always_use_https, automatic_https_rewrites, min_tls_version, development_mode, cache_level) — WAF/firewall/security controls are deliberately not exposed. Prefer ssl full over flexible: flexible makes Cloudflare fetch the origin over plain HTTP, a downgrade the visitor cannot see. CLOUDFLARE_REAUTHORIZE_REQUIRED means the stored authorization lacks this permission — surface the connectUrl and ask the customer to reconnect. Supports dry_run.

Input Schema

NameRequiredDescriptionDefault
sslNoTLS mode between Cloudflare and the origin. `full` is the safe default.
domainYesDomain whose zone settings to change.
dry_runNo
cache_levelNo
min_tls_versionNo
always_use_httpsNo
development_modeNoTemporarily bypass Cloudflare's cache.
automatic_https_rewritesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.39.4

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the mutation boundary (allowlist-only, security controls withheld), a concrete security trade-off explaining why flexible is dangerous, the specific error sentinel CLOUDFLARE_REAUTHORIZE_REQUIRED plus the remediation (surface connectUrl and ask the customer to reconnect), and dry_run support. This is exactly the auth, blast-radius, and failure-mode context an agent needs before invoking a destructive, open-world write.

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?

Four dense sentences, none wasted: scope first, security caveat second, error handling third, dry_run last. Front-loading the allowlist means an agent can abort early if its intended field is not editable.

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?

Covers purpose, constraints, the highest-risk failure mode, and auth re-consent for a destructive mutation with no output schema. The one omission is return behavior — for a buggy-looking 'supports dry_run' tool, describing what a successful call or dry run reports back would close the last 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?

With only 38% schema description coverage, the description meaningfully compensates by naming six of the eight parameters as the editable set and by explaining the ssl enum's semantics ('full' is the safe default, 'flexible' downgrades to plain HTTP). Gaps remain: cache_level, min_tls_version, always_use_https, and automatic_https_rewrites are listed but not semantically explained, and dry_run is mentioned without saying what a dry run returns.

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+resource (change Cloudflare zone settings) and immediately scopes it with an explicit six-item allowlist, so an agent knows exactly what surface is mutable. It also implicitly distinguishes itself from read-only siblings like get_cloudflare_zone_settings and from set_cloudflare_proxy by declaring what is deliberately not exposed.

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?

Gives strong positive and negative scope: only the allowlist is editable, WAF/firewall/security controls are excluded, and it advises preferring ssl=full over flexible with the reason why. It does not name sibling tools (set_cloudflare_proxy, connect_cloudflare_to_cloudflare/connect_domains_to_cloudflare, rollback_cloudflare_domain) that an agent might confuse it with, so routing is inferred rather than explicit.

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