Skip to main content
Glama
KodimTech

@kodim/mcp-cloudflare-dns

by KodimTech

List Zones

list_zones
Read-only

List all DNS zones in your Cloudflare account, with optional filtering by domain name or status. Obtain zone IDs needed for further DNS operations.

Instructions

List all DNS zones in the Cloudflare account. Optionally filter by domain name or status. Returns zone IDs needed for other operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFilter by domain name (e.g., example.com)
pageNoPage number (default: 1)
statusNoFilter by zone status
per_pageNoResults per page (default: 20, max: 50)
Behavior3/5

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

The readOnlyHint annotation already indicates this is a safe read operation. The description adds that it returns zone IDs needed for other operations, which is useful downstream context, but it does not disclose additional behavioral traits such as pagination behavior or response structure beyond what the schema implies.

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?

The description is three short, purposeful sentences: purpose, filters, and output utility. Every sentence earns its place, with no filler or redundancy.

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

Completeness5/5

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

For a simple list operation, the description covers the core purpose, optional filters, and the key return value (zone IDs). The schema provides full parameter details including enums and defaults, and the readOnly annotation covers safety, making this description complete enough for an agent to invoke correctly.

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 the baseline is 3. The description only rephrases the name and status filters without adding new meaning or details beyond the schema's parameter descriptions.

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 states 'List all DNS zones in the Cloudflare account' with a specific verb and resource, clearly indicating a list operation with optional filters. This distinguishes it from sibling tools like get_zone (single zone) and list_dns_records (records within a zone), even without explicit exclusions.

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 provides clear context: it returns zone IDs needed for other operations, implying when to use this tool. It also mentions optional filtering by domain name or status. However, it does not explicitly state when to use alternatives like get_zone, so it lacks exclusions.

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/KodimTech/mcp-cloudflare-dns'

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