Skip to main content
Glama
ni-c
by ni-c

Create DNS zone

create_zone

Create DNS zones in primary or secondary mode. For primary, initialize from a zone file; for secondary, specify external primary nameservers.

Instructions

Create a new DNS zone. Use mode "primary" for zones managed at Hetzner, or "secondary" with primary_nameservers to transfer the zone from external primaries. A primary zone can optionally be initialized from a zone file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNoDefault Time To Live in seconds (60 to 2147483647)
modeYesMode of the zone
nameYesName of the zone, e.g. "example.com" (without trailing dot)
labelsNoUser-defined labels (key/value pairs)
zonefileNoZone file (BIND format) to initialize a primary zone with. Ignored for secondary zones.
primary_nameserversNoPrimary nameservers to transfer the zone from (secondary zones)
Behavior3/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It explains mode behavior and zonefile initialization, but does not mention permissions, idempotency, or what happens if the zone already exists. This is adequate but lacks depth for a mutation tool.

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 three sentences long, front-loaded with the core action, and every sentence adds useful information. There is no repetition of schema details or filler, making it highly efficient.

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?

The description covers the main decision points (mode, zonefile) and parameter relationships well. It lacks detail about the response format or consequences of creation, but given no output schema and a fairly straightforward create operation, it is largely complete. A brief note on returned data or prerequisites would improve it further.

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?

The schema already describes all 6 parameters at 100% coverage, so the baseline is 3. The description adds semantic value by linking parameters to use cases: 'primary' vs 'secondary' with primary_nameservers, and zonefile for primary initialization. This clarifies the role of parameters beyond their individual schema descriptions.

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 clearly states the tool's purpose: 'Create a new DNS zone.' It uses a specific verb and resource, and distinguishes itself from sibling tools (get, list, update, delete) by focusing on creation. The mention of primary/secondary modes further clarifies its unique role.

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?

The description provides clear guidance on when to use primary vs secondary mode, and explains that a zonefile can optionally initialize a primary zone. This gives practical context for choosing parameters. However, it does not explicitly contrast with import_zonefile or other competing tools, missing an opportunity for exclusionary guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ni-c/mcp-hetzner-dns'

If you have feedback or need assistance with the MCP directory API, please join our Discord server