Skip to main content
Glama
rsp2k
by rsp2k

dns_import_zone_file

Import DNS records from a zone file for a specified domain, with optional dry-run validation to preview changes before applying.

Instructions

Import DNS records from zone file format.

Args: domain: The domain name to import records to zone_data: DNS zone file content as string dry_run: If True, only validate and return what would be created without making changes

Returns: List of created records or validation results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
dry_runNo
zone_dataYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4/5.0
Behavior3/5

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

The description discloses the dry_run behavior and return values, which is useful. However, with no annotations, it does not disclose critical behaviors like overwriting vs. merging existing records, handling of malformed zone files, or idempotency. It is not misleading, but incomplete for a mutation operation.

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?

The description is concise and structured as a standard docstring with Args and Returns sections. It front-loads the purpose and uses no filler. Every sentence contributes useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, so return values are adequately covered. However, for an import operation, the description lacks details on conflict resolution, whether it replaces existing records, and the expected format of zone_data. This is a moderate gap, but the dry_run explanation and parameter documentation keep it above a 2.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description fully compensates by explaining each parameter's meaning and purpose: domain (target), zone_data (content as string), dry_run (validation mode). This adds significant value beyond the raw 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?

The description states a specific verb and resource: 'Import DNS records from zone file format.' This clearly distinguishes the tool from siblings like dns_export_zone_file (export) and dns_create_record (single record creation). The purpose is unambiguous.

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 implies usage via the verb 'import' and the zone file format, but it does not provide explicit when-to-use/when-not-to-use guidance or name alternatives. The dry_run parameter hints at a validation workflow, but no explicit exclusions are stated.

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