Skip to main content
Glama

cloudflare_set_ssl_mode

Set a Cloudflare zone's SSL/TLS encryption mode to off, flexible, full, or strict; changes require administrator approval before execution.

Instructions

Set a zone's SSL/TLS encryption mode: off, flexible (HTTPS to visitors, HTTP to the origin), full (HTTPS to the origin, any certificate) or strict (HTTPS to the origin with a valid certificate). Proposal: an administrator approves it before it runs.

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_id": "<zone_id>",
      "zone_name": "<zone_name>",
      "mode": "<mode>"
    },
    "name": "cloudflare_set_ssl_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesThe new mode.
zone_idYesThe zone ID (32 hex characters, from cloudflare_get_zone or cloudflare_list_zones).
zone_nameYesThe zone name (example.com.au). Checked against zone_id before anything is changed, so the approver sees which domain this is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations: it discloses that the call only creates a proposal that an administrator must approve before anything changes, which explains the non-idempotent, approval-gated execution model and warns the agent not to assume the change is live. It also conveys the security implication of each mode (HTTP vs HTTPS to origin, certificate validity for strict). It stops short of stating reversibility, failure behavior when 'strict' is requested with an invalid cert, or what the call returns.

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?

Two sentences, front-loaded with the action and resource, with mode semantics packed into a compact parenthetical list and the approval constraint stated last. No filler or restatement of the tool name.

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 3-parameter mutation with no output schema, the description covers purpose, valid values with semantics, and the human-approval gate, which is what an agent most needs. A note on what the call returns (proposal identifier/status) and what happens if the requested mode conflicts with the existing certificate would close the remaining 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?

Schema coverage is 100%, so baseline would be 3, but the description adds real meaning the enum alone does not: it explains what 'flexible', 'full' and 'strict' actually do at the visitor/origin hop, which is exactly the information an agent needs to pick a mode. The zone_id/zone_name parameters are not described in the description, but the schema already documents them, including the cross-check relationship.

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?

States a specific verb+resource ('Set a zone's SSL/TLS encryption mode') and enumerates all four accepted modes with one-line definitions, so an agent knows exactly which Cloudflare setting is touched. It does not name a sibling it is not (e.g., cloudflare_set_always_use_https or cloudflare_get_ssl_status), so sibling separation relies on the resource noun rather than an explicit contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the tool exists to change the zone's SSL mode, and the description explains what each mode means, which indirectly helps an agent choose a target value. There is no explicit when-to-use / when-not-to-use guidance, no mention of the read-side alternative (cloudflare_get_ssl_status) to inspect the current mode first, and no stated prerequisites beyond the approval workflow.

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