Skip to main content
Glama

Cloudflare: Get dns record

cloudflare_get_dns_record
Read-only

Fetch a single Cloudflare DNS record by site, zone, and record ID to view its full configuration details.

Instructions

[UNIFIED] Fetch a single DNS record by id with its full details.

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>",
      "record_id": "<record_id>"
    },
    "name": "cloudflare_get_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
zone_idYes
record_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.14.0

TDQS

C2.8/5.0
Behavior3/5

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

The readOnlyHint annotation already tells the agent this is a safe, non-mutating read, so the description's burden is reduced. It adds "with its full details," implying a complete record payload rather than a partial view, but says nothing about error behavior for a missing/invalid id, permissions, or cross-account scoping.

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?

A single front-loaded sentence with no filler or redundant restatement of the title. It is efficient, though its brevity comes at the cost of the guidance the other dimensions need.

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

Completeness1/5

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

Three required, fully undocumented parameters and no output schema leave the description carrying too little: the site/zone_id relationship, id format expectations, and the returned record shape are all absent. For a lookup tool whose only annotation is readOnlyHint, this is not enough to call it correctly with confidence.

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% for three required parameters, and the description only accounts for one of them implicitly via "by id" (record_id). It gives no meaning to site or zone_id, nor why both a site and a zone_id are required for the same lookup — a genuinely confusing point left unexplained.

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 ("Fetch a single DNS record by id") and signals single-record scope, which implicitly contrasts with the list/create/update/delete siblings. It is clear what the tool returns conceptually (one record, full details), though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Beyond the phrase "by id" implying that a record identifier must already be known, there is no when-to-use guidance, no exclusions, and no mention of when to prefer cloudflare_list_dns_records or another sibling. The agent must infer the routing decision entirely.

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