Skip to main content
Glama

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

TableJSON 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

TableJSON 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.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds valuable behavioral context: it does not perform DNS lookup, it returns parsed tags and level'd findings, and it instructs to present any returned record verbatim. It also explains a policy nuance about p=reject being unlocked only by aggregate-report evidence, which is useful for setting expectations. Minor gap: it doesn't explicitly state whether the tool can return errors for malformed input, but the schema and output schema likely cover that.

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 description is concise and front-loaded with the primary use case. It packs a lot of useful information into a few sentences. The only slight inefficiency is the detailed policy explanation about p=reject and aggregate-report evidence, which is relevant but could be seen as slightly verbose for a tool description. Overall, every sentence earns its place.

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 the tool has a single parameter, a rich output schema, and clear annotations, the description is complete. It covers what the tool does, how to invoke it, what it does not do, and how to handle the returned record. An agent has everything needed to select and call this tool correctly.

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 100%, so the schema already documents the `record` parameter well. The description adds extra meaning by clarifying that the record value only should be passed, not the _dmarc hostname, and by giving an example. This goes beyond the schema's description and helps prevent a common mistake.

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 the tool's purpose: validate a pasted DMARC record and report parsed tags, level'd findings, and validity. It explicitly distinguishes itself from related tools like `upgrade_record` and `scan_domain` by noting it does not perform DNS lookup and takes the record string itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use guidance: 'Use this when the user pastes a DMARC record and asks whether it is valid, correct or safe.' It also gives exclusions: 'No DNS lookup — pass the record string itself.' It names an alternative (`upgrade_record`) and explains when that tool is appropriate, which helps an agent choose correctly.

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.