Skip to main content
Glama

dns_set_records

Destructive

Set multiple DNS record types in one call for a domain. Merges by default or replaces the entire zone with replace_all.

Instructions

Задать несколько типов DNS-записей одним вызовом.

По умолчанию — безопасный merge: типы, отсутствующие в records, сохраняются. replace_all=True — полная замена зоны (как делает голый dns/changeRecords): ВСЕ записи, кроме переданных, будут удалены.

Args: fqdn: Имя домена records: JSON с записями, например: {"A": [{"address": "1.2.3.4"}], "MX": [{"exchange": "mx.yandex.net", "preference": 10}]} replace_all: True — полная замена зоны; по умолчанию False (merge) force: Продолжить при наличии CAA/SRV (будут удалены)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fqdnYes
forceNo
recordsYes
replace_allNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds the exact destruction semantics that annotations cannot express: default merge preserves types not passed, replace_all deletes ALL non-passed records, and force deletes CAA/SRV records. This is precisely the extra context an agent needs before an irreversible write.

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?

The safety-relevant default is front-loaded, and the Args block is scannable. There is minor redundancy (replace_all and its merge default are stated in both the body and the Args list), but the example JSON earns its space.

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, return values need no explanation, and all four params plus the destructive modes are covered. The one subtle ambiguity is whether types that ARE passed are fully replaced at the record level or merged record-by-record under the default mode.

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 coverage is 0%, so the description carries the full burden, and it does: it documents fqdn, records (with a concrete JSON example showing address/exchange/preference shapes), replace_all's default and meaning, and force's effect. No parameter is left unexplained.

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 and resource (set several DNS record types in one call) and implies the batching advantage over the single-type siblings (dns_set_a, dns_set_mx, etc.). It never names those siblings explicitly, so the differentiation is left to inference rather than stated.

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 clearly explains the two operating modes (default safe merge vs replace_all full replacement) and when the destructive path applies, which is real usage guidance. However it gives no explicit routing versus the sibling tools that set one record type at a time, nor any prerequisite/permission guidance.

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