Skip to main content
Glama
KodimTech

@kodim/mcp-cloudflare-dns

by KodimTech

Create DNS Record

create_dns_record

Add a new DNS record to a Cloudflare zone, supporting all record types (A, AAAA, CNAME, MX, TXT, SRV, etc.) with options for TTL, proxying, and metadata.

Instructions

Create a new DNS record in a zone. Supports all record types (A, AAAA, CNAME, MX, TXT, SRV, etc.). For proxied records, TTL is automatically set by Cloudflare.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNoTTL in seconds. Use 1 for automatic (default). Range: 60-86400 for non-proxied.
dataNoAdditional data for SRV, CAA, SSHFP, and other complex record types
nameYesDNS record name (e.g., 'example.com', 'sub.example.com', or '@' for root)
tagsNoTags in format 'key:value'
typeYesDNS record type
commentNoComment for the DNS record
contentYesRecord value (e.g., IP for A records, target for CNAME)
proxiedNoWhether to proxy through Cloudflare (orange cloud). Default: false.
zone_idYesThe zone ID
priorityNoPriority for MX and SRV records
Behavior3/5

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

Annotations are minimal (only readOnlyHint: false), so the description carries a higher burden. It does add a useful behavioral note: 'For proxied records, TTL is automatically set by Cloudflare.' However, it does not disclose other important behaviors such as duplicate handling, validation checks, or implications of record conflicts. The addition is helpful but incomplete.

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?

The description is concise (two sentences), front-loaded with the core action, and free of redundancy. It efficiently combines the main purpose, supported types, and a key behavioral nuance without unnecessary detail.

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?

Given the tool's complexity (10 parameters, nested objects, no output schema), the description is adequate but could be richer. The TTL note and record type support are useful, but it does not guide on complex record types (e.g., using the data parameter) or potential edge cases. The schema covers parameters, but the description leaves some contextual gaps for a tool of this complexity.

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 coverage is 100%, so the baseline is 3. The description adds marginal meaning by noting that proxied records auto-set TTL, which enriches the ttl and proxied parameters. However, it does not explain other parameter interactions or complex record type requirements beyond what the schema already describes. The value added is limited.

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 clearly states the action and resource: 'Create a new DNS record in a zone.' It explicitly enumerates supported record types, distinguishing it from sibling tools like update, delete, and list. The scope is unambiguous and specific.

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?

The description does not provide guidance on when to use this tool versus alternatives like update_dns_record or batch_dns_records. It only restates the basic creation purpose, leaving the agent to infer appropriate usage from sibling tool names. No exclusions or contextual cues are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KodimTech/mcp-cloudflare-dns'

If you have feedback or need assistance with the MCP directory API, please join our Discord server