Skip to main content
Glama

cloudflare_set_always_use_https

Toggle Always Use HTTPS for a Cloudflare zone to redirect every HTTP request to HTTPS. Enable it to enforce encrypted connections, or disable it to stop redirects.

Instructions

Turn Always Use HTTPS on or off for a zone (redirects every http:// request to https://). 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>",
      "enabled": "<enabled>"
    },
    "name": "cloudflare_set_always_use_https"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYestrue = on, false = off.
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

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses a substantive behavioral trait: this is a proposal that an administrator must approve before it runs, which changes what an agent should expect after invoking it. It also states the user-visible consequence of the setting. It stops short of saying what a proposal response looks like or how approval is surfaced.

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: the first states what changes and its effect, the second states the approval constraint. Nothing is repeated, and the operative constraint is placed before any elaboration.

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 three-parameter mutation with no output schema, the description covers the setting's effect, the zone-scoping parameters (via schema), and the approval gate. The only gap is that it never hints at what invoking it returns, for example whether the response is a pending proposal.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and each parameter already carries a clear description, so the schema does the heavy lifting and the baseline applies. The description adds no parameter-level detail beyond what the schema states (including the zone_id/zone_name cross-check, which is already in the schema).

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?

Names a specific verb (turn on/off) and the exact zone setting (Always Use HTTPS), and explains the effect in parentheses: redirects every http:// request to https://. That distinguishes it clearly from siblings such as cloudflare_set_ssl_mode and cloudflare_set_development_mode, which change different settings.

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?

The effect stated in parentheses implies when this tool is appropriate (enforce HTTPS for a zone), but the description never says when to use it rather than another setting change, nor does it state any prerequisites or exclusions. The alternative-tool routing that would justify a 4 or 5 is absent.

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