Skip to main content
Glama

Cloudflare: Update dns record

cloudflare_update_dns_record
Destructive

Update an existing Cloudflare DNS record by changing only the fields you provide; omitted fields keep their current values.

Instructions

[UNIFIED] Update an existing DNS record (DNS:Edit permission). Only the provided fields change; omitted fields keep their current value.

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_update_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNo
nameNo
siteYes
typeNo
commentNo
contentNo
proxiedNo
zone_idYes
priorityNo
record_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.14.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: the DNS:Edit authorization requirement and the PATCH-style rule that omitted fields retain their current values. It stops short of saying what is irreversibly lost when a field is supplied, which would complete the picture for a destructive tool.

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?

Two short sentences, front-loaded with the action and permission, followed by the one behavioral rule that matters most. Nothing is repeated from the title or annotations.

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 ten-parameter mutation tool with no output schema and zero schema descriptions, the definition covers the essentials an agent needs to call it safely: permission scope and partial-update semantics. It is still thin on per-field meaning and on what the response contains, so an agent would have to guess at values for ttl, proxied, priority, and type.

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 0%, so the description carries the full burden and does explain the critical null/default meaning for the nine optional fields (omitted = unchanged). It adds nothing about the semantics of individual fields like proxied, ttl, priority, type, or about the required site/zone_id/record_id identifiers, leaving half the meaning to inference.

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 a specific verb and resource ("Update an existing DNS record"), and the word "existing" implicitly separates it from the create/delete siblings. The "[UNIFIED]" prefix adds no meaning for an agent, and no sibling is named explicitly for contrast.

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?

The description gives an implied usage context by naming the required permission (DNS:Edit) and by framing the operation as a partial update, which helps the agent choose it over a full-replace call. It never states when not to use it or points at an alternative such as delete or create for other intents.

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