Skip to main content
Glama

Import a zone file

livedns_zone_import
Destructive

Replaces all DNS records of a domain's LiveDNS zone by importing an RFC 1035 zone file, with an optional snapshot and a counted preview of changes before you confirm.

Instructions

Replace all the records of a zone with a zone file (RFC 1035) of the gandi-mcp work directory; its content is sent to Gandi, never shown here. 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>",
      "file": "<file>"
    },
    "name": "livedns_zone_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesZone file to import, relative to the gandi-mcp work directory.
domainYesDomain whose zone is served by LiveDNS, e.g. example.com (Unicode accepted).
accountNoAccount name; the default account when omitted.
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.1/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/openWorldHint annotations: it discloses that ALL records are replaced, that file content is sent to Gandi and never displayed, that the user sees a counted effect, and how the snapshot decision is made. It also documents the confirmation_pending retry protocol, which is essential behavioral information an agent cannot get from the annotations.

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 front-loaded sentences that each carry distinct information: destructive scope, user-side snapshot choice, and the confirmation retry loop. Slightly dense phrasing ("of the gandi-mcp work directory") but no filler.

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 a destructive, confirmation-gated import with an output schema and full annotations, the description covers everything critical: destructive scope, data path, snapshot handling, and the pending-confirmation loop. Nothing needed to invoke it correctly is missing.

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 real semantics for confirmation_id — call again with the same arguments plus the returned id once the user has answered. The file path's work-directory scoping is reinforced in prose as well.

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?

States a specific verb+resource with mechanism: "Replace all the records of a zone with a zone file (RFC 1035)" from the gandi-mcp work directory. This distinguishes it in practice from livedns_zone_replace and livedns_zone_delete by naming the zone-file input, though no sibling is explicitly named.

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?

Explains the surrounding workflow well — counted effect shown to the user, optional snapshot decided outside the conversation, and the user confirming outside the conversation. It does not say when to prefer this over livedns_zone_replace or livedns_zone_export, so alternative selection is left to inference.

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