Skip to main content
Glama

dns_set_a

Destructive

Set or replace the A record (IPv4) for a domain while preserving other DNS records such as MX, TXT, CNAME, and NS.

Instructions

Задать A-запись (IPv4) для FQDN.

Безопасно: делает getData → merge → changeRecords. Прочие записи (MX, TXT, CNAME, NS) в зоне сохраняются. Прежние A-записи заменяются на переданную.

TTL: Beget управляет TTL на уровне зоны (типичный минимум 600 сек) и может игнорировать значение в запросе. Параметр оставлен для совместимости.

Если в зоне есть CAA/SRV — вернёт ошибку (changeRecords их затирает). Передайте force=True, чтобы продолжить и потерять их.

Args: fqdn: Имя домена address: IPv4-адрес (203.0.113.1) ttl: TTL в секундах (может быть проигнорирован; по умолчанию 600) force: Продолжить при наличии CAA/SRV (они будут удалены)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNo
fqdnYes
forceNo
addressYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial behavioral detail beyond the annotations: the getData → merge → changeRecords flow, preservation of other record types, replacement of prior A records, TTL being managed/ignored by Beget, and the destructive CAA/SRV deletion under force=True. This fully discloses side effects and matches the destructiveHint=true annotation.

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 front-loaded with purpose, then adds safety notes, TTL caveats, the CAA/SRV warning, and an Args section. Every sentence adds necessary information for a destructive DNS mutation with undocumented schema parameters.

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

Completeness5/5

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

Given an output schema exists, the description need not explain return values, and it covers the mutation behavior, parameter semantics, and error conditions thoroughly. An agent has everything required to invoke the tool correctly and safely.

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%, so the description must carry the full semantic burden, and it does: fqdn is the domain name, address is an IPv4 address with example, ttl may be ignored and defaults to 600, and force continues despite CAA/SRV deletion. All four parameters receive meaningful clarification.

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?

States a specific verb and resource: setting an A record (IPv4) for an FQDN. This clearly distinguishes it from sibling DNS tools such as dns_set_cname, dns_set_txt, and dns_set_mx without needing to name them explicitly.

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?

Provides clear context for when the tool is usable and when a risky override is required, including the CAA/SRV error condition and the force=True escape hatch. It does not explicitly compare against alternative tools like dns_set_records or dns_patch_record, so it falls short of full alternative routing guidance.

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