Skip to main content
Glama

Export a snapshot to a file

livedns_snapshot_export
Read-onlyIdempotent

Export a LiveDNS snapshot to an RFC 1035 zone file in the gandi-mcp work directory, returning only the file name, size, and record count.

Instructions

Write a snapshot as a zone file (RFC 1035) in the gandi-mcp work directory; only the file name, its size and its number of records are returned.

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>",
      "snapshot_id": "<snapshot_id>",
      "file": "<file>"
    },
    "name": "livedns_snapshot_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFile to write, relative to the gandi-mcp work directory (subdirectories allowed, e.g. zones/example.com.zone).
domainYesDomain whose zone is served by LiveDNS, e.g. example.com (Unicode accepted).
accountNoAccount name; the default account when omitted.
overwriteNoReplace the file if it exists. Only when the user asks for it.
snapshot_idYesSnapshot identifier, from livedns_snapshots.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations declare readOnlyHint/idempotentHint/openWorldHint, so safety and repeatability are already known; the description adds the meaningful detail that only file name, size and record count come back, not the zone content. However, it presents a filesystem write against a readOnlyHint=true annotation, a tension the text does not acknowledge (e.g. whether prior content of an existing file is lost without overwrite=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?

One sentence, front-loaded with the action and format, followed immediately by the returned values; there is no filler or repetition of the title.

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?

With an output schema present, the description needn't explain return fields, yet it summarizes them briefly; combined with 100% schema coverage for all five parameters, an agent has enough to call it correctly. Only the overwrite/existing-file consequence and any permission expectations are left implicit.

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 coverage is 100%, including the relative-path semantics of `file`, the default-account behavior, and the overwrite caveat, so the description adds no parameter meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 and target ("Write a snapshot as a zone file (RFC 1035)") plus the destination ("gandi-mcp work directory") and the response shape. This clearly separates it from siblings like livedns_zone_export or livedns_snapshot_restore without any ambiguity about what is produced.

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 description says what happens but never when to choose this over livedns_zone_export or the other snapshot tools, and it is silent on the overwrite decision (the schema carries the "Only when the user asks for it" guidance). Usage is inferable from the purpose but not explicitly routed.

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