Skip to main content
Glama

Validate DMARC Record

validate_dmarc_record
Read-onlyIdempotent

Use this when the user pastes a DMARC record and asks whether it is valid, correct or safe. Validate a pasted DMARC record: parsed tags, level'd findings, and whether it is valid. No DNS lookup — pass the record string itself. upgrade_record previews a stronger policy and is capped at p=quarantine: a pasted record carries no alignment evidence, and p=reject is unlocked only by aggregate-report evidence over a full reporting window (monitoring), never by a scan. Present any returned record verbatim.

Input Schema

NameRequiredDescriptionDefault
recordYesThe DMARC record text to validate, e.g. 'v=DMARC1; p=none; rua=mailto:reports@example.com'. The record value only — not the _dmarc hostname it is published at.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / record / description
      Added value: +"The DMARC record text to validate, e.g. 'v=DMARC1; p=none; rua=mailto:reports@example.com'. The record value only — not the _dmarc hostname it is published at."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/idempotent/closed-world, so the safety profile is covered. The description adds real behavioral value beyond that: this is pure string parsing with no DNS lookup, and its output must be presented verbatim. The p=quarantine/p=reject explanation clarifies the policy-upgrade boundary that motivates why a static pasted record can't unlock stricter policies.

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 usage trigger and output summary are front-loaded and efficient. The trailing discussion of `upgrade_record` and p=reject is longer than strictly needed for this tool, though it earns some place by explaining the 'safe' framing in the trigger.

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 annotations covering safety and an output schema covering return shape, the description only needs to supply the trigger, the no-DNS input constraint, and the verbatim-presentation obligation — all of which are present. Nothing an agent needs to invoke this correctly is missing.

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 coverage is 100% and the single `record` parameter is fully documented in the schema, including the 'value only, not the hostname' constraint. The description reinforces but does not extend that semantics ('pass the record string itself'), so baseline 3 is appropriate.

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 (validate) and resource (DMARC record), then immediately enumerates what it produces: parsed tags, leveled findings, and a validity verdict. It also names a sibling (`upgrade_record`) so the agent can tell the two apart without opening either schema.

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?

The opening sentence gives an explicit trigger — 'when the user pastes a DMARC record and asks whether it is valid, correct or safe' — and the 'No DNS lookup — pass the record string itself' line routes away from DNS-based siblings. It does not, however, distinguish this from other parsing siblings like parse_dmarc_report or check_record, so it falls short of full when-not coverage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.