Skip to main content
Glama

cloudflare_update_dns_record

Update an existing Cloudflare DNS record's content, name, TTL, proxy status, MX priority, or comment after verifying its current name; changes require administrator approval before execution.

Instructions

Change a DNS record: its content, name, TTL, proxied, MX priority or comment (not its type). current_name must be the record's name now; it is checked first. Proposal: an administrator approves it before it runs.

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_id": "<zone_id>",
      "zone_name": "<zone_name>",
      "record_id": "<record_id>",
      "current_name": "<current_name>"
    },
    "name": "cloudflare_update_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNoTTL in seconds: 1 = automatic (default), or 60 to 86400.
nameNoNew name, if it changes.
commentNoNew note on the record (Cloudflare record comment); "" removes the existing one.
contentNoRecord content: an IPv4 (A) or IPv6 (AAAA) address, a host name (CNAME, MX, NS), or TXT text without surrounding quotes.
proxiedNoProxy through Cloudflare (orange cloud). A, AAAA and CNAME only; default false (DNS only).
zone_idYesThe zone ID (32 hex characters, from cloudflare_get_zone or cloudflare_list_zones).
priorityNoMX priority (required for MX).
record_idYesThe DNS record ID (from cloudflare_list_dns_records).
zone_nameYesThe zone name (example.com.au). Checked against zone_id before anything is changed, so the approver sees which domain this is.
current_nameYesThe record's name now ("@", "www" or the full name). If it does not match, nothing is changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnly=false, destructive=false, idempotent=false, openWorld=true); the description adds substantial context beyond that, notably that the call is submitted as a proposal requiring administrator approval and that a mismatched current_name results in no change at all. It stops short of saying what happens to fields that are omitted (preserved vs cleared) or what the response looks like, which for a mutation tool would be the final useful piece.

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?

Three short sentences, front-loaded with the mutation scope before the concurrency guard and the approval caveat. The middle clause about current_name being checked first largely duplicates the schema property description, so it earns slightly less than a perfect conciseness score, but there is no filler.

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?

For a 10-parameter mutation with full schema coverage and no output schema, the description supplies the parts structured data cannot: the approval gate, the verification guard, and the immutable field. It would be complete with a note on partial-update semantics (what happens to unspecified fields) and a hint at the returned confirmation, since no output schema exists to cover that.

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 every parameter already carries its own explanation, and the description mostly restates that surface at a higher level by listing the mutable fields. It adds one genuine constraint not obvious from the schema (type cannot be changed) but no format or dependency detail beyond what the properties already provide, so baseline 3 applies.

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 opens with a specific verb and resource ("Change a DNS record") and then enumerates exactly which fields are mutable (content, name, TTL, proxied, MX priority, comment) while explicitly excluding the record type. That combination of scope and exclusion lets an agent distinguish this from create/delete/read siblings without consulting another schema.

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?

It establishes the precondition for a safe call (current_name must match the record's present name and is checked first) and the operational context (an administrator must approve the proposal before it runs). What it does not do explicitly is route the agent to an alternative, e.g. that changing a record's type requires delete plus create; that is left as an inference from "(not its type)".

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