Skip to main content
Glama

upsert_dns

Idempotently create or update a single DNS record for your domain, doing nothing if it matches. Supports dry_run planning to preview changes before writing.

Instructions

Idempotently create, update, or return NOOP for one DNS record. Prefer dry_run first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNo
nameYesShort name or iveseenu.com FQDN.
typeYesDNS record type.
contentYesRecord value.
dry_runNoPlan only. Never sends a DNS write request.
proxiedNoCloudflare proxy. Defaults to DNS only.
allow_rootNo
allow_sensitiveNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden, and it delivers meaningfully: 'idempotently' discloses repeat-call safety, 'create, update, or return NOOP' discloses the complete outcome set, and 'Prefer dry_run first' prescribes a safe workflow. It stops short of disclosing return behavior or side effects on existing records.

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?

Two sentences totaling about 15 words, with the core behavior front-loaded in the first sentence and operational guidance in the second. Every word carries information; there is no filler or restatement of the tool name.

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?

The description captures the tool's essential contract — idempotent single-record upsert with a dry-run-first workflow — which is the context most likely to prevent mis-invocation. However, for an 8-parameter mutation tool with no annotations and no output schema, it leaves the agent uninformed about return values, the meaning of the allow_root/allow_sensitive gates, and the Cloudflare context implied by the proxied parameter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description is entirely silent on all 8 parameters, and schema description coverage is only 63%. The three undocumented parameters — ttl, allow_root, and allow_sensitive — receive no explanation anywhere, leaving the security-relevant gate flags and the unusual ttl 'auto' option opaque to the agent. The description does nothing to compensate for this coverage gap.

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 explains the non-obvious 'upsert' semantics explicitly: 'Idempotently create, update, or return NOOP for one DNS record.' It specifies the resource (DNS record), scope (one record), and the full outcome set. This inherently differentiates it from the create_dns and update_dns siblings, though it does not name them 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?

'Prefer dry_run first' is a concrete, actionable usage directive that tells the agent to plan before writing. The idempotent create/update/NOOP semantics imply when this tool is preferable to create_dns or update_dns, but the description never explicitly states when to use this tool versus those alternatives or when not to use it.

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

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

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