Skip to main content
Glama

cloudflare_change

Make a single Cloudflare API change with POST, PUT, PATCH, or DELETE after approving the method, path, and body. Use it to update account resources with explicit confirmation.

Instructions

Change something through the Cloudflare API with one POST, PUT, PATCH or DELETE request. The person is asked to approve the method, path and body first.

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": {
      "account": "<account>",
      "method": "<method>",
      "path": "<path>"
    },
    "name": "cloudflare_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON request body, as the endpoint describes it.
pathYesAPI path, e.g. "/zones" or "/accounts/{account_id}/workers/scripts". {account_id} is replaced with the account acted on. Find paths with cloudflare_search_api.
queryNoQuery parameters, e.g. {"per_page": 50, "name": "example.com"}.
methodYes
accountYesWhich connected account (alias) to act as, e.g. "business".
account_idNoCloudflare account id (32 hex characters). Needed when this login can reach more than one account; GET /accounts lists them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and the one trait it does disclose is genuinely useful: a human approves method, path and body before execution. Beyond that gate it says nothing about what a DELETE destroys, whether changes are reversible, how errors or responses are returned, or any rate/permission constraints — significant gaps for an arbitrary destructive-capable write tool.

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?

Two tight sentences, front-loaded with the action and the method set, followed by the approval gate. Nothing is padded, though the first sentence is so terse it borders on underspecified rather than concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter generic API caller with no output schema and no annotations, the definition covers the mechanical shape and the approval step but omits result format, failure behavior, and caution around DELETE. Adequate to invoke correctly, thin on consequences.

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 description coverage is 83%, so the schema already explains account, account_id, path templating, query and body. The description adds no semantic detail beyond restating the method set and the approval of method/path/body, so the baseline of 3 applies.

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

Purpose3/5

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

"Change something through the Cloudflare API" states a mutation verb and the target system, and the enumerated methods (POST/PUT/PATCH/DELETE) distinguish it from the read-oriented cloudflare_get sibling. But "something" is deliberately vague — the tool is a generic API escape hatch, and the description never says what class of resources it touches or that it is the catch-all for operations not covered by dedicated tools.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not statement in the description; the only routing hint ("Find paths with cloudflare_search_api") sits inside the path parameter schema, not the prose. An agent must infer that this is the fallback for mutations with no dedicated tool.

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