Skip to main content
Glama

Update Domain DNS Record

update_domain_dns_record
DestructiveIdempotent

Replace a DNS record (name, content, ttl, priority/weight/port). The record type cannot change: delete the record and create a new one instead. Requires confirm=true. Requires an active ZapX Pass (see server instructions).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domainId": "<domainId>",
      "recordId": "<recordId>",
      "type": "<type>",
      "content": "<content>"
    },
    "name": "update_domain_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNoTTL in seconds (default 3600, min 60).
nameNoRecord name relative to the domain: '@' (default) for the domain itself, 'www', '_acme-challenge', ...
portNoSRV port.
typeYesRecord type.
weightNoSRV weight.
confirmNoMust be true to apply the change.
contentYesRecord value (IP address, hostname, TXT text, ...).
domainIdYesDomain id (from list_domains or list_account_services).
priorityNoMX/SRV priority.
recordIdYesRecord id from get_domain_dns_records.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the description adds real value on top: the confirm gate, the ZapX Pass entitlement requirement, and the immutable type constraint. It leaves one meaningful gap for a replace-semantics tool — it never says whether omitted optional fields are reset to defaults or left untouched.

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, scope first, then the constraint and the prerequisites. No filler and nothing buried.

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?

For a 10-parameter destructive mutation with no output schema, the definition covers the essentials an agent needs before calling: required confirm, entitlement, and the non-changeable type. Only the partial-vs-full replace behavior of optional fields remains ambiguous.

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% with each parameter documented (TTL min/default, MX/SRV priority/weight/port, record id source), so the schema carries the load. The description's parenthetical field list adds only the framing that all of them are overwritten together, which is marginal beyond 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?

States a concrete verb+resource (replace a DNS record) and enumerates the mutable fields (name, content, ttl, priority/weight/port). It also distinguishes itself from the create/delete siblings by explaining that a type change must go through delete + create instead.

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?

Gives an explicit when-not rule with the alternative path ("The record type cannot change: delete the record and create a new one instead") plus two preconditions (confirm=true, active ZapX Pass). It does not spell out when to prefer a targeted field fix over a full replace, but the routing guidance is clear.

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.

Resources