Skip to main content
Glama

add_dns_zone

Создать DNS-зону на авторитетном сервере PowerDNS (pdns/add_zone). Требует права pdns/edit.

Instructions

Создать DNS-зону на авторитетном сервере PowerDNS (pdns/add_zone). Требует права pdns/edit.

Input Schema

NameRequiredDescriptionDefault
dnsNoSOA-параметры зоны; при пропуске применяются дефолты Hostkey
kindNoТип зоны, по умолчанию Master
nameYesИмя зоны, например example.com
dnssecNoВключить DNSSEC (по умолчанию false)
rrsetsNoИспользовать RRset вместо records (по умолчанию true)
confirmYesMust be true to run the operation.
mastersNoСписок master-серверов (для Slave)
nameserversNoNS-серверы зоны, по умолчанию ns1.hostkey.ru/ns2.hostkey.ru

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv1.0.3
    • changedInput schema / properties / confirm / description
      Previous value: -"Нужно true, чтобы выполнить операцию."New value: +"Must be true to run the operation."
    • changedInput schema / properties / dns / description
      Previous value: -"SOA-параметры зоны; при пропуске применяются дефолты Hostkey"New value: +"SOA-параметры Р·РѕРЅС‹; РїСЂРё РїСЂРѕРїСѓСЃРєРµ применяются дефолты Hostkey"
    • changedInput schema / properties / dns / properties / mname / description
      Previous value: -"Primary NS, например ns1.hostkey.com"New value: +"Primary NS, например ns1.hostkey.ru"
    • changedInput schema / properties / dns / properties / rname / description
      Previous value: -"Email администратора, например admin.example.com"New value: +"Email администратора, например admin.example.com"
    • changedInput schema / properties / dns / properties / serial / description
      Previous value: -"Сериал зоны, рекомендуется YYYYMMDD00"New value: +"Сериал Р·РѕРЅС‹, рекомендуется YYYYMMDD00"
    • changedInput schema / properties / dnssec / description
      Previous value: -"Включить DNSSEC (по умолчанию false)"New value: +"Включить DNSSEC (РїРѕ умолчанию false)"
    • changedInput schema / properties / kind / description
      Previous value: -"Тип зоны, по умолчанию Master"New value: +"РўРёРї Р·РѕРЅС‹, РїРѕ умолчанию Master"
    • changedInput schema / properties / masters / description
      Previous value: -"Список master-серверов (для Slave)"New value: +"РЎРїРёСЃРѕРє master-серверов (для Slave)"
    • changedInput schema / properties / name / description
      Previous value: -"Имя зоны, например example.com"New value: +"Имя Р·РѕРЅС‹, например example.com"
    • changedInput schema / properties / nameservers / description
      Previous value: -"NS-серверы зоны, по умолчанию ns1.hostkey.com/ns2.hostkey.com"New value: +"NS-серверы Р·РѕРЅС‹, РїРѕ умолчанию ns1.hostkey.ru/ns2.hostkey.ru"
    • changedInput schema / properties / rrsets / description
      Previous value: -"Использовать RRset вместо records (по умолчанию true)"New value: +"Использовать RRset вместо records (РїРѕ умолчанию true)"
  2. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, non-destructive operation on an open-world target, so the safety profile is covered. The description adds a concrete authorization requirement (pdns/edit) that the annotations do not convey, which is valuable, but it says nothing about idempotency, what happens on an existing zone, or error behavior.

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?

Two short sentences with the action and the precondition front-loaded and no filler. Efficient, though it is arguably too terse to exploit the space available.

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 mutation with a nested SOA object and the required confirm flag, the description is thin. Annotations and the fully-covered schema carry most of the load, but details like idempotency or behavior when the zone already exists are absent, leaving it only adequate.

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% and every parameter, including the nested SOA object and its fields, is documented in the schema. The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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?

The description states a specific verb and resource (create a DNS zone on the authoritative PowerDNS server) and even names the underlying API call (pdns/add_zone). It is clearly distinguishable in kind from reads like get_dns_zone, but it never contrasts itself with the adjacent writers add_dns_domain or add_dns_subdomain, so a 4 rather than a 5.

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?

It gives a useful precondition (requires pdns/edit rights), which is real when-to-use context. However, it offers no guidance on when to choose this over add_dns_domain/add_dns_subdomain or what to do if the zone already exists, so usage is only implied.

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