Skip to main content
Glama

add_dns_zone

Creates a DNS zone on the authoritative PowerDNS server, with optional SOA, DNSSEC, and slave settings; requires pdns/edit permission.

Instructions

Create a DNS zone on the authoritative PowerDNS server (pdns/add_zone). Requires pdns/edit permission.

Input Schema

NameRequiredDescriptionDefault
dnsNoSOA parameters for the zone; Hostkey defaults apply if omitted
kindNoZone type, defaults to Master
nameYesZone name, e.g. example.com
dnssecNoEnable DNSSEC (defaults to false)
rrsetsNoUse RRset instead of records (defaults to true)
confirmYesMust be true to run the operation.
mastersNoList of master servers (for Slave)
nameserversNoNS servers for the zone, defaults to ns1.hostkey.com/ns2.hostkey.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.0.3
    • changedInput schema / properties / dns / description
      Previous value: -"SOA-параметры зоны; при пропуске применяются дефолты Hostkey"New value: +"SOA parameters for the zone; Hostkey defaults apply if omitted"
    • changedInput schema / properties / dns / properties / mname / description
      Previous value: -"Primary NS, например ns1.hostkey.com"New value: +"Primary NS, e.g. ns1.hostkey.com"
    • changedInput schema / properties / dns / properties / rname / description
      Previous value: -"Email администратора, например admin.example.com"New value: +"Admin email, e.g. admin.example.com"
    • changedInput schema / properties / dns / properties / serial / description
      Previous value: -"Сериал зоны, рекомендуется YYYYMMDD00"New value: +"Zone serial, recommended YYYYMMDD00"
    • changedInput schema / properties / dnssec / description
      Previous value: -"Включить DNSSEC (по умолчанию false)"New value: +"Enable DNSSEC (defaults to false)"
    • changedInput schema / properties / kind / description
      Previous value: -"Тип зоны, по умолчанию Master"New value: +"Zone type, defaults to Master"
    • changedInput schema / properties / masters / description
      Previous value: -"Список master-серверов (для Slave)"New value: +"List of master servers (for Slave)"
    • changedInput schema / properties / name / description
      Previous value: -"Имя зоны, например example.com"New value: +"Zone name, e.g. example.com"
    • changedInput schema / properties / nameservers / description
      Previous value: -"NS-серверы зоны, по умолчанию ns1.hostkey.com/ns2.hostkey.com"New value: +"NS servers for the zone, defaults to ns1.hostkey.com/ns2.hostkey.com"
    • changedInput schema / properties / rrsets / description
      Previous value: -"Использовать RRset вместо records (по умолчанию true)"New value: +"Use RRset instead of records (defaults to true)"
  2. First observedv1.0.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description usefully adds the required pdns/edit permission and the authoritative-server target, but says nothing about idempotency, what happens on a name collision, or whether zone creation is reversible.

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?

Two compact sentences, action first, permission second, with zero filler or restated field lists.

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?

For an 8-parameter, one-nested-object mutation with no output schema, the description covers action, target, and permission but omits conflict/failure behavior and any hint of when this is the right choice. Adequate but with clear gaps.

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 description coverage is 100%, so the nested SOA object, kind enum, dnssec/rrsets defaults, and the mandatory confirm flag are all documented in the schema itself. The description adds no parameter-level meaning beyond that, making 3 the correct baseline.

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 ("Create a DNS zone") and names the underlying target (authoritative PowerDNS server / pdns/add_zone), which is concrete enough to act on. It does not, however, differentiate itself from the sibling add_dns_domain, which an agent could easily confuse with this tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance given is the required permission (pdns/edit). There is no statement of when to prefer this tool over add_dns_domain or add_dns_subdomain, nor any prerequisite or conflict conditions.

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