Skip to main content
Glama

cf_dns_upsert

Create or update DNS records in a Cloudflare zone with idempotency by type and name. Set content, TTL, proxied flag, and comments.

Instructions

Create or update a DNS record in a zone (idempotent by type + name). Set type/name/content plus optional ttl (1=automatic), proxied flag and comment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNo
nameYes
typeYes
zoneYes
commentNo
contentYes
proxiedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
errorNo
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and it does disclose the important idempotency contract (keyed on type + name, so repeat calls are safe). However it says nothing about required token permissions, whether updating an existing record replaces or merges unspecified fields, or the destructive effect of overwriting content on a live record.

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?

Two tight sentences with the verb and idempotency guarantee front-loaded; the parameter enumeration in sentence two is slightly redundant with the schema but costs little and orients the caller.

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?

An output schema exists, so return values need not be described, and the idempotency semantics cover the biggest ambiguity. Still, for a 7-parameter mutation tool with zero annotations, the description omits permissions, overwrite/merge behavior, and value formats, so an agent could invoke it correctly but not confidently.

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 must compensate. It names type, name, content plus the optional ttl, proxied and comment, and adds the genuinely useful '1=automatic' meaning for ttl that the schema lacks. It does not explain zone semantics or the expected name/content format per record type, leaving three parameters only labeled, not explained.

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 pair (create or update) and resource (DNS record in a zone), and the idempotency key (type + name) makes the semantics precise. It is easy to distinguish from the only DNS sibling, cf_dns_list, without opening either schema, though no sibling is named explicitly.

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 idempotency note implies this is the single call to use for both creation and update, which is useful routing guidance, but there is no explicit when-to-use statement, no mention of cf_dns_list for reads, and no stated prerequisites.

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