Skip to main content
Glama

cloudflare_list_accounts

Read-onlyIdempotent

Retrieves the Cloudflare accounts visible to the current API token, returning IDs and names so you can filter zones or Access applications by account.

Instructions

List the Cloudflare accounts the token can see (Cititec manages each client in its own account): ID, name, type. Use an account ID to filter cloudflare_list_zones or for cloudflare_list_access_apps.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cloudflare_list_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOnly accounts whose name contains this text.
pageNoPage number (default 1).
per_pageNoResults per page (default 50, at most 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful context beyond them — visibility is limited to what the token can see, and each client sits in its own account — but says nothing about pagination behaviour or result volume for a multi-account org.

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 purpose and scope before the downstream usage hint. The parenthetical about clients in separate accounts earns its place by explaining why multiple accounts exist; nothing is redundant.

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 read-only, zero-required-parameter list tool with no output schema, the description compensates by naming the returned fields and the token-scope limitation. It is nearly complete, missing only a note on result ordering or how large multi-account result sets behave across pages.

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% and each of the three optional parameters (name, page, per_page) carries its own constraint text, so the schema does the work. The description adds no per-parameter meaning, such as whether the name filter is a substring match, leaving the baseline 3 appropriate.

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?

States a specific verb and resource ("List the Cloudflare accounts") plus the exact scope ("the token can see") and the fields returned (ID, name, type). An agent immediately knows what this tool yields and that it is the account-discovery entry point rather than a zone/DNS tool.

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?

Explicitly routes the output: "Use an account ID to filter cloudflare_list_zones or for cloudflare_list_access_apps," which names two real siblings and the condition that consumes this tool's result. It does not state when NOT to use it (e.g., a direct-by-ID lookup path), so it stops short of full when/when-not guidance.

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