Skip to main content
Glama

cloudflare_list_dns_records

Read-onlyIdempotent

Lists DNS records in a Cloudflare zone, with optional filters by type, exact name, search text, content, or proxy status, returning record IDs, values, TTL, and comments.

Instructions

List DNS records in a zone, optionally by type and name. name is exact ("@" for the apex, "www" or the full name); search matches part of the name. Returns ID, type, name, content, priority, proxied, TTL (1 = automatic), comment.

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

Input Schema

NameRequiredDescriptionDefault
nameNoExact record name: "@", "www", "_dmarc" or the full name.
pageNoPage number (default 1).
typeNoOnly records of this type.
zoneYesThe zone: its name (example.com.au) or its 32-character zone ID.
searchNoOnly records whose name contains this text.
contentNoOnly records whose content contains this text (an IP address, a host).
proxiedNoOnly proxied (true) or DNS-only (false) records.
per_pageNoResults per page (default 100, at most 500).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds value beyond that by enumerating the returned fields (ID, type, name, content, priority, proxied, TTL, comment) and decoding the TTL=1 convention, which is real behavioral context the annotations do not supply. It stops short of describing pagination behavior or result ordering.

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?

Three tight sentences: purpose first, filter semantics second, return shape third. No filler, no restatement of the tool name, and every clause carries information the caller needs.

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?

With no output schema, the description correctly compensates by listing returned fields, and it covers the ambiguous filter parameters. For an 8-parameter listing tool it is close to complete; only pagination result behavior and default ordering are unaddressed.

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

Parameters4/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, but the description adds the crucial distinction between exact 'name' matching (with '@' for apex) and substring 'search' matching, which is the main confusion risk among the 8 parameters. It also explains the TTL=1 return convention. It adds nothing for page/per_page/proxied/content beyond what the schema already states.

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 definition opens with a specific verb and resource ('List DNS records in a zone') plus the filtering axes (type, name), so an agent knows exactly what it returns. It does not explicitly contrast itself with cloudflare_get_dns_record or the create/update/delete siblings, which keeps it short of a 5.

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 the filtering description (exact name vs partial search), which is genuinely useful for choosing the right filter. There is no explicit statement of when to use this listing tool rather than cloudflare_get_dns_record for a single record, and no exclusions or prerequisites are given.

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