Skip to main content
Glama

Replace the DNS records of a name

livedns_name_records_replace
Destructive

Replaces every DNS record of a given name in a LiveDNS zone with a new record set. Use it to overwrite all existing record types for one name in a single confirmed change.

Instructions

Replace all the records of a name, every type, with the records given. 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>",
      "records": "<records>"
    },
    "name": "livedns_name_records_replace"
  }
}

Input Schema

NameRequiredDescriptionDefault
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).
accountNoAccount name; the default account when omitted.
recordsYesThe records of the name after the change.
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/5.0
Behavior5/5

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

Annotations already flag destructive and non-idempotent, but the description adds behavior the agent could not otherwise know: the user sees a counted effect before the change, decides out-of-band whether a snapshot is taken, and confirmation happens outside the conversation. The confirmation_pending / confirmation_id retry protocol is spelled out explicitly, which is exactly the kind of disclosure that prevents a failed or duplicated call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the replacement scope, then the user-facing side effects, then the retry rule. Nothing is filler, though the phrasing around 'the counted effect' and 'outside the conversation' is slightly dense and could be tightened.

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 whole-name replacement with an output schema present, the definition covers scope, side effects, and the two-step confirmation flow. It leaves out permission/account requirements and any warning about the destructive nature in prose, but the annotations and output schema carry most of that weight.

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 parameters are already documented. The description still adds meaning beyond the schema by explaining the operational contract for confirmation_id: resend the same arguments plus the returned ID once the user has answered. The remaining parameters (domain, name, records) get no extra elaboration, but they need none.

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 states a precise verb and scope: replace ALL records of a name, every type, with the given records. That 'every type / all records' wording is what separates it from single-record or per-type siblings such as livedns_record_replace, even though no sibling is named 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?

The whole-name scope implies when to use it versus a single-record edit, but the definition never names an alternative or states an exclusion (e.g., use livedns_name_records_delete to remove without re-adding). It does give clear procedural guidance for the confirmation round-trip, which is a genuine usage aid.

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