Skip to main content
Glama

Create DNS Record

infra.cloudflare.dns_create
Destructive

Create a DNS record (A, AAAA, CNAME, MX, TXT) for a Cloudflare zone. Specify type, name, content, TTL, and proxy status. Returns new record ID.

Instructions

⚡ ACTION: Create a new DNS record (A, AAAA, CNAME, MX, TXT) for a Cloudflare zone. Set content (IP/hostname), TTL, and CDN proxy status. Returns new record ID (Cloudflare)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idYesCloudflare Zone ID
typeYesDNS record type
nameYesRecord name — subdomain or "@" for root (e.g. "www", "api", "@")
contentYesRecord value — IP address for A/AAAA, hostname for CNAME, text for TXT
ttlNoTTL in seconds (1 = automatic, 60-86400 for manual)
proxiedNoEnable Cloudflare CDN proxy (default false). True = orange cloud, hides origin IP
priorityNoPriority for MX records (e.g. 10, 20)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds value by specifying the return value (new record ID) and clarifying the operation's side effect (creation). It does not contradict annotations and provides additional context.

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 highly concise with two sentences, front-loaded with an action emoji and clear purpose. Every word adds value, and there is no unnecessary information.

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?

Given the tool's complexity (7 params, 4 required) and the presence of annotations and output schema (implied by 'Returns new record ID'), the description covers the essential aspects. It could mention priority for MX records but schema covers it. Overall, it is sufficiently complete.

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 description adds little beyond summarizing parameters (content, TTL, proxy). It does not provide additional meaning or examples for parameters like zone_id or name that aren't already covered by the schema.

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 'Create a new DNS record' for Cloudflare zone, lists supported record types (A, AAAA, CNAME, MX, TXT), and mentions key parameters (content, TTL, CDN proxy status). It effectively differentiates from siblings like dns_delete and dns_list.

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 implicitly indicates when to use (creating DNS records) but does not provide explicit guidance on alternatives or conditions like when not to use or prerequisites. It lacks distinction from sibling tools beyond its name and purpose.

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/whiteknightonhorse/APIbase'

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