Skip to main content
Glama

cloudflare_dns_create

Add a DNS record to a Cloudflare zone by providing zone, record type, name, and content. Supports A, AAAA, CNAME, MX, TXT, SRV, CAA, NS. Optionally set proxied, TTL, and priority.

Instructions

Create a new DNS record in a zone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idYesZone ID (32-char hex) or zone name (e.g., 'example.com')
typeYesRecord type
nameYesRecord name (e.g., 'www', '@', 'mail.example.com')
contentYesRecord content (IP for A/AAAA, hostname for CNAME/MX, text for TXT)
proxiedNoWhether to proxy traffic through Cloudflare (default: false)
ttlNoTTL in seconds — 1 = auto (Cloudflare-managed), 60–86400 otherwise
priorityNoPriority (required for MX and SRV records, 0–65535)
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for disclosing behavioral traits. It does not mention what happens if a record with the same name and type already exists (e.g., error or overwrite), nor does it discuss required permissions, rate limits, or idempotency. The description simply states 'create' with no further behavioral context.

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?

The description is a single concise sentence with no unnecessary words. It is front-loaded with the key action and resource. However, it is so brief that it sacrifices completeness, but for pure conciseness it earns a 4.

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?

Given the tool has 7 parameters, no output schema, and no annotations, the description is far from complete. It does not explain what the API returns (e.g., the created record object), error scenarios, or how to handle duplicates. A longer description with behavioral details and usage hints would be warranted.

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 the input schema already provides meaningful descriptions for all 7 parameters. The tool description adds no additional semantics beyond what the schema provides. For example, it doesn't explain that 'priority' is required for MX/SRV records or that 'proxied' defaults to false. Baseline score of 3 is appropriate.

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?

The description 'Create a new DNS record in a zone' clearly indicates the action (create) and the resource (DNS record in a zone). It distinguishes the tool from sibling tools like cloudflare_dns_delete, cloudflare_dns_get, and cloudflare_dns_update, which have different verbs. However, it could be slightly more specific about the types of records supported, but the schema provides that detail.

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 contains no guidance on when to use this tool versus alternatives. For example, it does not state that this tool is for adding new records, while cloudflare_dns_update should be used to modify existing ones. There is no mention of prerequisites, permissions, or typical use cases.

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/itunified-io/mcp-cloudflare'

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