Skip to main content
Glama

cloudflare_get_dns_record

Read-onlyIdempotent

Retrieve a single DNS record by its ID and zone to inspect its current details, using the record ID returned by a DNS record list.

Instructions

One DNS record by its ID (from cloudflare_list_dns_records).

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

Input Schema

NameRequiredDescriptionDefault
zoneYesThe zone: its name (example.com.au) or its 32-character zone ID.
record_idYesThe DNS record ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description's only addition is the provenance of the record ID; it says nothing about behavior when the record does not exist, permission/auth requirements, or rate limits.

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 short clause with zero filler and the scoping information front-loaded. It is telegraphic rather than wasteful, though the missing verb makes it read more like a fragment than a complete definition.

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 simple two-parameter read, the schema and annotations cover most needs. However, with no output schema, the description gives no indication of what the returned record looks like or how a missing/invalid record ID is reported, which is the remaining meaningful gap.

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 both 'zone' (name or 32-character ID) and 'record_id' are already documented in the schema. The description adds a small hint that record_id originates from the list tool, but nothing about formats or edge cases beyond that.

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?

States the resource (one DNS record) and the lookup key (its ID), which unambiguously separates it from the list/create/update/delete siblings. There is no explicit verb ('get' is only implied by the name), so it falls just short of a fully self-contained statement of purpose.

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 parenthetical '(from cloudflare_list_dns_records)' tells the agent exactly where the required record_id comes from, which effectively communicates the precondition for using this tool. It does not state when to prefer this over alternatives or what to do if the ID is unknown, so it stops short of explicit when/when-not guidance.

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