Skip to main content
Glama

mail_setup_yandex

Destructive

Set up Yandex 360 email for a domain by configuring MX and SPF DNS records in one call, replacing existing MX/SPF while keeping other TXT records.

Instructions

Прописать MX и SPF для Яндекс 360 одним вызовом.

Ставит:

  • MX: mx.yandex.net, preference 10 (заменяет существующие MX)

  • TXT SPF: v=spf1 redirect=_spf.yandex.net (заменяет существующую SPF, прочие TXT — DKIM, верификации — сохраняются)

DKIM Яндекс настраивается отдельно (Я.Почта для домена → DKIM), там выдаётся ключ для mail._domainkey.<домен>. После получения ключа — dns_set_txt на соответствующий поддомен (либо сначала domain_add_subdomain).

Не трогает A-записи, NS и прочие TXT. Если в зоне есть CAA/SRV — потребует force=True (они будут удалены).

Args: fqdn: Имя домена (site.ru) force: Продолжить при наличии CAA/SRV

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fqdnYes
forceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/readOnlyHint annotations by disclosing exactly what is replaced (MX, SPF), what is preserved (other TXT, A, NS), and the destructive consequence of force with CAA/SRV. This is the kind of irreversibility detail annotations cannot express.

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?

Front-loads the one-line purpose, then structures the record details, DKIM note, and safety warning as distinct blocks. Slightly verbose in the DKIM section, but every block carries actionable information.

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?

With an output schema present, return values need no explanation, and the description fully covers behavior, side effects, precondition, and follow-up flow. Nothing needed to invoke this mutation correctly is missing.

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?

Schema description coverage is 0%, so the description must carry both params, and it does: fqdn is glossed as the domain name (site.ru) and force is tied to the CAA/SRV precondition. The glosses are correct but terse for a fully undocumented schema.

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: sets MX and SPF for Yandex 360 in a single call. Explicitly enumerates the exact records (mx.yandex.net preference 10; v=spf1 redirect=_spf.yandex.net), which distinguishes it cleanly from the granular dns_set_mx / dns_set_txt siblings.

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?

Explains the multi-step DKIM workflow and points to dns_set_txt / domain_add_subdomain for the follow-up, and warns that CAA/SRV zones require force=True. It does not name mail_setup_mailru as the alternative for the Mail.ru case, leaving one routing decision to inference.

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