Skip to main content
Glama

DMARC Generator

dmarc_generate
Idempotent

Generate a DMARC DNS record to protect your domain from email spoofing. Specify domain, report email, and policy to create ready-to-deploy DNS configuration.

Instructions

Generate a DMARC DNS record for a domain. Returns the record name, value, and type ready to be added to DNS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domain_nameYesThe domain to generate a DMARC record for, e.g. example.com
emailYesThe email address to receive DMARC aggregate reports, e.g. dmarc@example.com
dmarc_policyYesThe DMARC policy: none (monitor only), quarantine (mark as spam), or reject (block entirely)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

The description adds value beyond annotations by disclosing that the tool 'Returns the record name, value, and type ready to be added to DNS', clarifying that it only generates the record and does not apply it. This complements the idempotentHint and the non-destructive nature, enhancing transparency.

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 a single, concise sentence that front-loads the primary action and then specifies the return value. No wasted words; every element serves a purpose.

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?

For a straightforward generator with full schema and annotations, the description provides enough context: what it does and what it returns. It omits details like the exact DNS record format, but the schema and the simplicity of the tool make it sufficiently complete.

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% with each parameter well-explained (domain, email, policy). The tool description does not add further parameter details, but the schema already handles the heavy lifting, so the baseline 3 applies.

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?

The description clearly states 'Generate a DMARC DNS record for a domain' with a specific verb and resource. It is easily distinguished from sibling tools like dmarc_check (which checks existing records) and spf_generate (which generates SPF records).

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?

Usage is implied by the tool's name and description: use when you need to create a DMARC record. However, there is no explicit guidance on when to use this instead of alternatives like dmarc_check, or any exclusions or prerequisites.

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