Skip to main content
Glama

cloudflare_get

Read from the Cloudflare API with one GET request, returning response data for accounts, zones, DNS records, Workers, KV, R2, and D1. Use it to inspect resources or verify paths and query parameters.

Instructions

Read from the Cloudflare API with one GET request: accounts, zones, DNS records, Workers, KV, R2, D1 and the rest. Returns the API response.

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>",
      "path": "<path>"
    },
    "name": "cloudflare_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
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"}.
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

B3.2/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 burden and largely doesn't meet it. It discloses that the call is a single GET returning the raw API response, but says nothing about authorization requirements, per-account scoping, error shapes, rate limits, or pagination of list endpoints.

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 short sentences, front-loaded with the verb and scope, with no filler. The trailing 'and the rest' is slightly imprecise but serves as a signal that coverage is broad rather than exhaustive.

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 generic passthrough tool with full schema coverage and no output schema, the definition is adequate but thin. It does not explain what the raw API response looks like or how failures surface, which matters for an unannotated tool whose return values are undefined elsewhere.

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 100%, so all four parameters (path, query, account, account_id) are already documented with examples and constraints. The description adds no additional meaning about how account/account_id interact or how query values are encoded, so the baseline 3 applies.

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: a single GET request against the Cloudflare API, and enumerates the resource families covered (accounts, zones, DNS records, Workers, KV, R2, D1). It implicitly separates itself from cloudflare_change by emphasizing read/GET, but never names the write sibling explicitly.

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: 'one GET request' signals read-only access, so mutation should go to cloudflare_change. There is no explicit statement of when to prefer this over cloudflare_change, and the useful routing hint ('Find paths with cloudflare_search_api') lives in the schema, not the description.

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