Skip to main content
Glama

updateDnsRecord

Idempotent

updateDnsRecord: Update an existing DNS record. Requires authentication. Only the fields you provide are changed; omitted fields keep their current values. Get the recordId from listDnsRecords. Returns the updated record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNoNew time to live in seconds.
nameNoNew record name relative to the zone, e.g. 'www' or '@' for the apex.
typeNoNew record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA.
domainYesFully qualified domain name the record belongs to, e.g. 'example.com'.
contentNoNew record value, e.g. an IPv4 dotted-quad or IPv6 address, hostname, or text.
priorityNoNew priority for MX/SRV records only.
recordIdYesIdentifier of the record to update, as returned by listDnsRecords.
sessionKeyNoSession key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / content / description
      Added value: +"New record value, e.g. an IPv4 dotted-quad or IPv6 address, hostname, or text."
    • addedInput schema / properties / domain / description
      Added value: +"Fully qualified domain name the record belongs to, e.g. 'example.com'."
    • addedInput schema / properties / name / description
      Added value: +"New record name relative to the zone, e.g. 'www' or '@' for the apex."
    • addedInput schema / properties / priority / description
      Added value: +"New priority for MX/SRV records only."
    • addedInput schema / properties / recordId / description
      Added value: +"Identifier of the record to update, as returned by listDnsRecords."
    • addedInput schema / properties / ttl / description
      Added value: +"New time to live in seconds."
    • addedInput schema / properties / type / description
      Added value: +"New record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already provide idempotentHint=true, readOnlyHint=false, and destructiveHint=false, but the description adds critical behavioral detail: 'Only the fields you provide are changed; omitted fields keep their current values.' This reveals partial-update semantics that annotations cannot express. It also states the return value ('Returns the updated record') and prerequisites for recordId, adding value beyond the structured fields.

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 tightly packed sentences: the first states the operation, the second covers authentication and update semantics, the third covers the data dependency and return value. Every sentence earns its place, and the most important action verb appears immediately at the start.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no output schema, the description plus the fully self-documenting schema cover everything an agent needs: what to call, prerequisites (authentication, recordId from listDnsRecords), partial-update behavior, and the return shape. The annotations fill in idempotency and non-destructiveness, making the entry complete.

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

Parameters4/5

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

Schema coverage is 100% for all 8 parameters, so the baseline is 3. The description goes beyond the schema by explaining the partial-update model: provided fields are changed and omitted fields retain values, which affects how an agent should build the request. It also orients the agent to source recordId from listDnsRecords, adding practical meaning to that parameter.

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 opens with 'Update an existing DNS record', a specific verb+resource pair that clearly distinguishes this from createDnsRecord, deleteDnsRecord, getDnsRecord, and listDnsRecords. The word 'existing' reinforces that this is a modification tool, not a creation tool.

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?

The description provides clear operational context: it requires authentication, performs partial updates (only provided fields change), and tells the agent to obtain recordId from listDnsRecords. It stops short of explicitly naming when not to use it (e.g., 'use createDnsRecord for new records'), so it lacks a formal exclusion but is still unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.