Skip to main content
Glama

Replace a DNS record

livedns_record_replace
Destructive

Replace all values for a LiveDNS record by specifying domain, name, and record type, with optional TTL, to update Gandi DNS data.

Instructions

Replace all the values of the record of a name and type. The user is shown the counted effect and chooses, outside the conversation, whether a snapshot is taken first. The user confirms outside the conversation; if the result is confirmation_pending, call again with the same arguments and the returned confirmation_id once the user answered.

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": {
      "domain": "<domain>",
      "name": "<name>",
      "record_type": "<record_type>",
      "values": "<values>"
    },
    "name": "livedns_record_replace"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNoTTL in seconds, 300 to 2592000.
nameYesRecord name relative to the zone: @ for the domain itself, www, *.dev, _dmarc.
domainYesDomain whose zone is served by LiveDNS, e.g. example.com (Unicode accepted).
valuesYesValues as LiveDNS writes them, e.g. 192.0.2.1 or 10 mail.example.com.; TXT values in double quotes.
accountNoAccount name; the default account when omitted.
record_typeYesRecord type, e.g. A, AAAA, MX, TXT, CNAME.
confirmation_idNoIdentifier returned by a pending confirmation, once the user has answered on the page opened in their browser. Never invent one.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the destructiveHint/openWorld/idempotent annotations, it discloses the counted-effect preview, the optional pre-change snapshot, the two-phase out-of-conversation confirmation, and the exact retry protocol on confirmation_pending. That is exactly the behavioral context an agent cannot get from annotations, and it is consistent with destructiveHint=true.

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 sentences, front-loaded with what the tool does and then the confirmation mechanics, with no repetition of schema field details. The snapshot sentence is slightly indirect ('chooses, outside the conversation, whether a snapshot is taken first') but carries real information about who decides.

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 destructive mutation with an output schema and full annotation coverage, it covers the risky parts: preview, snapshot option, and the confirmation handshake. It does not say what happens if the record or name does not yet exist, nor how omitted ttl is treated, but those are secondary for a replace operation.

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%, so the baseline is 3, but the description adds operational meaning to confirmation_id that the schema does not: it must be paired with the identical argument set on a retry, and no other parameter may change in between. The other parameters (domain, name, record_type, values, ttl, account) are left entirely to their schema descriptions.

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 opens with a specific verb and resource — 'Replace all the values of the record of a name and type' — which is precise enough to distinguish this from a full-record or zone replacement. It does not name any sibling such as livedns_record_values_add/remove or livedns_name_records_replace, so the agent must infer the boundary from the phrase 'all the values' on its own.

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?

It gives clear procedural context for the confirmation flow: the user is shown the counted effect, decides about a snapshot outside the conversation, and confirms out-of-band, with explicit instructions to retry with the same arguments plus confirmation_id when the result is confirmation_pending. It never states when to prefer this over appending values or creating a record, so the tool-selection side of the guidance is absent.

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