Skip to main content
Glama

Cloudflare: List dns records

cloudflare_list_dns_records
Read-only

List DNS records for a Cloudflare zone with optional type, name, content, and pagination filters to inspect record IDs, TTL, proxy status, and comments.

Instructions

[UNIFIED] List DNS records for a zone with optional filters (type, name, content) and pagination. Returns id, type, name, content, TTL, proxied status and comment for each record.

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": {
      "site": "<site>",
      "zone_id": "<zone_id>"
    },
    "name": "cloudflare_list_dns_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pageNo
siteYes
typeNo
contentNo
zone_idYes
per_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.14.0

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already declares the safety profile, so the annotation bar is met. The description adds genuine value by enumerating returned fields (id, type, name, content, TTL, proxied, comment) and noting pagination, but gives no rate-limit, default page size, or ordering behavior.

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 sentences, front-loaded with purpose and then return shape, with no filler. The only mild inefficiency is that the return-field list is a clause rather than an independent, optional detail.

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 read-only list tool with no output schema, disclosing returned fields is a real contribution. However, the absence of any explanation for the two required parameters and the pagination controls leaves meaningful gaps for a 7-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all parameter meaning. It names three filter parameters (type, name, content) and gestures at pagination, but says nothing about the required site and zone_id distinction or how page vs. per_page behave, leaving 4 of 7 parameters undocumented anywhere.

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?

The description states a specific verb and resource ("List DNS records for a zone") plus scope via filters, which clearly separates it from the get/create/update/delete DNS siblings. It stops short of naming an explicit alternative, but the intent is unambiguous.

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 implied by 'List ... with optional filters', telling the agent this is the enumeration path with filtering. There is no explicit when-to-use vs. cloudflare_get_dns_record or when to prefer server-side filtering over client-side, so guidance stays at inference level.

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

Deploy Server

Other Tools