Skip to main content
Glama
Cloudflare MCP Server

Cloudflare MCP Server

by oh-my-oops

create_dns_record

Create a new DNS record in a Cloudflare zone by specifying type, name, content, TTL, and proxy settings to route or verify domain traffic.

Instructions

Create a new DNS record

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>",
      "type": "<type>",
      "name": "<name>",
      "content": "<content>"
    },
    "name": "create_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNoTTL in seconds (1 = automatic, min: 60, max: 86400)
nameYesDNS record name (e.g., 'www' or '@' for root)
typeYesDNS record type
contentYesDNS record content (e.g., IP address for A record)
proxiedNoWhether to proxy through Cloudflare (orange cloud)
zone_idYesThe zone ID
priorityNoPriority (required for MX and SRV records)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing about required API permissions, whether duplicate records are rejected or merged, how proxied/ttl defaults behave, or whether creation is reversible. Only the bare notion of creation is communicated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence contains no waste and is front-loaded, but it is terse to the point of under-specification rather than efficient communication. There is no structure to speak of beyond the one clause.

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

Completeness2/5

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

For a 7-parameter mutation tool with no annotations and no output schema, the description omits all behavioral context an agent would need to call it safely. The rich schema compensates for parameter meaning but not for operational consequences.

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%, and every parameter including ttl, name, type, content, proxied, zone_id, and priority is documented in the schema itself. The description adds no meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/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 ("Create a new DNS record"), so the basic operation is unambiguous. However, it names no fields, scope, or sibling distinction beyond what the tool name already conveys, leaving it at the minimum-viable level.

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?

There is no guidance on when to use this tool versus update_dns_record or list_dns_records, and no mention of prerequisites such as zone existence or conflicting records. The agent must infer usage entirely from the name.

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