Skip to main content
Glama

Update DNS record

update_dns_record

Modify an existing DNS record using its exact record ID. Check current state first to avoid conflicts before applying type, name, and value changes.

Instructions

[WRITE] Update an existing DNS record. Official: PUT /cdn/4.0/domains/{domain}/dns-records/{id}. Requires exact record_id. Read current state first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNo
nameYes
typeYes
cloudNo
usageNo
valueYesType-specific value object/array as documented for the record type
domainYes
selectorNo
record_idYesExact DNS record id returned by list_dns_records / get_dns_record
matching_typeNo
ip_filter_modeNo
upstream_httpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

A3.5/5.0
Behavior3/5

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

The [WRITE] tag and "Requires exact record_id" add context beyond annotations (openWorldHint, destructiveHint=false). But it doesn't disclose whether the update is partial or full replacement, what happens to fields not provided, or auth requirements. Annotations cover the safety profile but not mutation semantics.

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?

Three short sentences, front-loaded with the write tag and verb, with zero filler. Each sentence carries specific value.

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?

For a 12-param mutation tool with 17% schema coverage, no output schema, and nested objects, the description is far too thin. It omits parameter meanings, field-replacement semantics, and error/auth context that an agent needs to invoke correctly.

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

Parameters1/5

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

Schema description coverage is only 17% across 12 params, with only `record_id` and `value` partially documented in the schema. The description adds no meaning about params beyond noting record_id is required — it doesn't explain ttl, cloud, usage, selector, ip_filter_mode, or upstream_https, leaving the agent to infer from names alone.

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?

States a specific verb ("Update") and resource ("an existing DNS record"), and explicitly tags it as [WRITE]. Clear enough to distinguish from siblings like create_dns_record and delete_dns_record.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Requires exact record_id" and "Read current state first" give a clear precondition (get_dns_record before updating). However, it doesn't explicitly name an alternative tool or state when-not-to-use (e.g., create vs update vs set_dns_record_cloud).

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

Deploy Server

Other Tools