Skip to main content
Glama

Lower Cloudflare zone protection

cloudflare_zone_setting_weaken
Destructive

Weaken a Cloudflare zone's visitor protection by lowering SSL, TLS, or security settings or disabling HTTPS and obfuscation features, applying 1–20 validated changes in order.

Instructions

Change 1 to 20 settings of a Cloudflare zone, in order, where a change lowers a visitor's protection: a lower step of ssl, min_tls_version or security_level, or turning off always_use_https, automatic_https_rewrites, tls_1_3 or email_obfuscation. Always confirmed in attended runs. Every setting is read first, and nothing is sent if a value is not accepted, a setting is already at the value, or the zone's plan does not let you change it. If a later change fails, the result lists what was changed, the failure and the settings not sent. Zones are looked up only in the account's own zones.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "zone": "<zone>",
      "changes": "<changes>"
    },
    "name": "cloudflare_zone_setting_weaken"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneYesThe zone domain or 32-hex id.
accountNoThe label of the credential pair to use, or "default" for the unlabeled one; left out, the unlabeled pair, else the only label.
changesYes1 to 20 changes, each setting at most once, applied in order. Allowed values: ssl: off|flexible|full|strict; always_use_https: on|off; min_tls_version: 1.0|1.1|1.2|1.3; tls_1_3: on|off|zrt; automatic_https_rewrites: on|off; http3: on|off; ipv6: on|off; websockets: on|off; development_mode: on|off; security_level: off|essentially_off|low|medium|high|under_attack; cache_level: basic|simplified|aggressive; browser_cache_ttl: 0|30|60|120|300|1200|1800|3600|7200|10800|14400|18000|28800|43200|57600|72000|86400|172800|259200|345600|432000|691200|1382400|2073600|2678400|5356800|16070400|31536000; always_online: on|off; email_obfuscation: on|off.

Output Schema

NameRequiredDescriptionDefault
zoneYesThe zone the settings belong to.
labelYesThe account label.
failedNoThe change that failed after earlier ones were applied; the rest were not sent.
changedYesThe changes that were applied, in order.
not_sentNoThe settings after the failed one, which were not sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false, idempotentHint=false), the description discloses the confirmation requirement in attended runs, up-front read validation, refusal to send when a value is rejected / already current / blocked by the zone plan, and partial-failure reporting that lists changed settings, the failure, and the settings not sent. It also states the credential scoping rule for zone lookup. This is unusually rich behavioral disclosure for a destructive mutation.

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?

The most decision-relevant fact (this only weakens protections) leads, followed by eligibility, confirmation, and failure semantics. Sentences are dense but each carries information; the opening sentence is long and slightly tangled with its colon-separated list, which keeps it from a 5.

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?

For a multi-change destructive mutation with an output schema already present, the description covers what an agent still needs: eligibility, pre-flight validation, plan-based rejections, confirmation, partial-failure result shape, and credential/zone scoping. Nothing material is left to inference.

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, but the description adds meaning the schema cannot: only a subset of the enum settings and value directions are accepted here, which an agent reading the schema alone would not know. Ordering ("applied in order") and per-setting uniqueness are reinforced from the schema rather than newly added, keeping this below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb and resource ("Change 1 to 20 settings of a Cloudflare zone") and sharply bounds scope to changes that lower visitor protection, naming the exact settings and value directions that qualify. It does not name the contrasting sibling cloudflare_zone_setting_edit, so an agent must infer that non-weakening edits belong there, but the scoping itself is unambiguous.

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?

Use conditions are stated concretely: only ssl, min_tls_version, security_level, always_use_https, automatic_https_rewrites, tls_1_3 or email_obfuscation changes in the lowering direction. It also flags that attended runs always confirm and that zones are restricted to the account's own zones. What is missing is an explicit pointer to the sibling tool for non-weakening or protection-increasing edits.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.