Skip to main content
Glama

List Cloudflare Zones (Domains)

infra.cloudflare.zones_list
Read-onlyIdempotent

List all Cloudflare domains (zones) with ID, name, status, plan, and nameservers. Filter by domain name or zone status to retrieve the required zone ID for managing Cloudflare settings.

Instructions

List all domains (zones) managed in Cloudflare — zone ID, domain name, status (active/pending), plan, nameservers. Filter by domain name or status. Zone ID needed for all other Cloudflare tools (Cloudflare)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFilter by domain name (e.g. "example.com")
statusNoFilter by zone status
limitNoResults per page (default 20, max 50)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
Behavior4/5

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

Annotations already indicate read-only, non-destructive, and idempotent behavior. The description adds value by specifying returned fields and the prerequisite relationship. While pagination is hinted via the limit parameter, the description does not elaborate on default limits or result ordering. Overall, it provides reasonable behavioral context beyond annotations.

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 concise sentences that front-load the main purpose and key details. No unnecessary information or redundancy. Every sentence serves a clear purpose.

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?

Given the existence of an output schema and comprehensive annotations, the description is complete in most aspects. It covers purpose, returned fields, filtering, and the prerequisite role. Minor omission: no mention of pagination default or behavior, but the limit parameter covers that. Overall, well-rounded for a list tool.

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?

Input schema has 100% coverage with clear descriptions for all three parameters (name, status, limit). The description reiterates the filtering capability and implies the limit parameter, but does not add new semantics beyond the schema. Baseline of 3 is 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?

The description clearly states it lists all domains (zones) managed in Cloudflare and enumerates the returned fields (zone ID, domain name, status, plan, nameservers). It also notes the tool's role as a prerequisite for other Cloudflare tools, effectively differentiating it from siblings.

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?

The description explicitly states that the Zone ID from this tool is needed for all other Cloudflare tools, providing clear usage context. Filtering options are mentioned (by domain name or status). However, it does not explicitly state when not to use this tool or list alternatives, but the context is sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server