Skip to main content
Glama

Analyze a DMARC aggregate report

analyze_dmarc_report
Read-onlyIdempotent

Explain a DMARC aggregate report in plain English: paste the report XML (the files sent to your rua address; several reports pasted together also work). Returns the reporting organisation and domain, total and passing message counts, a per-source breakdown (source IP, messages, SPF/DKIM verdicts, disposition) labelled as a legitimate sender, a forwarding / mailing-list pattern, or failing-and-suspicious — plus the top problems in fix order.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "report_xml": "<report_xml>"
    },
    "name": "analyze_dmarc_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
report_xmlYesThe DMARC aggregate report XML in full (unzipped). Several reports pasted back to back are combined.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description goes further by disclosing the shape of the result: reporting org and domain, total/passing counts, per-source breakdown with SPF/DKIM verdicts and disposition, a three-way sender classification, and prioritized problems. It does not address failure modes (malformed or oversized XML) or how much data it can absorb.

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?

Purpose and input are front-loaded, and nearly every clause carries information about what the agent gets back. It is a single long sentence with a parenthetical and an em-dash list, which is dense but still readable; a sentence break before the return-value enumeration would improve scanning.

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?

With no output schema, the description carries the return-value burden and does so well, enumerating verdicts, classifications, and the prioritized problem list. Remaining gaps are error/limit behavior and whether any input beyond raw XML is accepted, which are minor for a single-input read-only tool.

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?

With one parameter at 100% schema description coverage, the schema already documents report_xml fully, including 'unzipped' and combining behavior. The description's note that several reports pasted together also work largely restates the schema, adding little beyond it. 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?

The description opens with a specific verb and resource: 'Explain a DMARC aggregate report in plain English', then names the exact input artifact ('the report XML ... sent to your rua address'). That input form inherently separates it from the policy/DNS checkers in the sibling list (check_dmarc, check_spf, check_dkim), which take domains rather than pasted report XML.

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?

It gives clear context for use: paste the aggregate report XML from your rua mailbox, and multiple reports may be pasted back to back. It does not explicitly state when to prefer a sibling (e.g. check_dmarc for policy records) or any exclusions, so no exclusion guidance is present.

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.