Skip to main content
Glama

security_dmarc_report

Read-only

DMARC aggregate report analyzer — Parse a DMARC aggregate (RUA) XML report into answers: pass rate, DKIM/SPF alignment, dispositions, top and failing sending IPs, misaligned senders (authenticated but not aligned), first-party honeypot matches on failing IPs, and policy advice (when to move p=none to quarantine/reject). Pass url= (.xml or .xml.gz) or text= (the XML). Price: $0.005 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "security_dmarc_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes<feedback><report_metadata><org_name>google.com</org_name><report_id>1234567890</report_id><date_range><begin>1763596800</begin><end>1763683199</end></date_range></report_metadata><policy_published><domain>example.com</domain><adkim>r</adkim><aspf>r</aspf><p>none</p><sp>none</sp><pct>100</pct></policy_published><record><row><source_ip>203.0.113.10</source_ip><count>42</count><policy_evaluated><disposition>none</disposition><dkim>pass</dkim><spf>pass</spf></policy_evaluated></row><identifiers><header_from>example.com</header_from></identifiers><auth_results><dkim><domain>example.com</domain><result>pass</result><selector>s1</selector></dkim><spf><domain>example.com</domain><result>pass</result></spf></auth_results></record><record><row><source_ip>198.51.100.7</source_ip><count>5</count><policy_evaluated><disposition>none</disposition><dkim>fail</dkim><spf>fail</spf></policy_evaluated></row><identifiers><header_from>example.com</header_from></identifiers><auth_results><spf><domain>spoof.example.net</domain><result>fail</result></spf></auth_results></record></feedback>

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "<feedback><report_metadata><org_name>google.com</org_name><report_id>1234567890</report_id><date_range><begin>1763596800</begin><end>1763683199</end></date_range></report_metadata><policy_published><domain>example.com</domain><adkim>r</adkim><aspf>r</aspf><p>none</p><sp>none</sp><pct>100</pct></policy_published><record><row><source_ip>203.0.113.10</source_ip><count>42</count><policy_evaluated><disposition>none</disposition><dkim>pass</dkim><spf>pass</spf></policy_evaluated></row><identifiers><header_from>example.com</header_from></identifiers><auth_results><dkim><domain>example.com</domain><result>pass</result><selector>s1</selector></dkim><spf><domain>example.com</domain><result>pass</result></spf></auth_results></record><record><row><source_ip>198.51.100.7</source_ip><count>5</count><policy_evaluated><disposition>none</disposition><dkim>fail</dkim><spf>fail</spf></policy_evaluated></row><identifiers><header_from>example.com</header_from></identifiers><auth_results><spf><domain>spoof.example.net</domain><result>fail</result></spf></auth_results></record></feedback>",
      +  "type": "string"
      +}
    • removedInput schema / properties / url
      Removed value: -{
      -  "description": "https://example.com/dmarc/google.com!example.com!1763596800!1763683199.xml.gz",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "url"
      -]New value: +[
      +  "text"
      +]
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: this is a paid endpoint costing $0.005 USDC on Base via x402, and it discloses the full set of computed results it returns. It omits practical traits such as size limits on the XML, error behavior for malformed reports, and whether .gz is decoded server-side.

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-loaded with the core verb and resource, then the output inventory, then input modes, then price — a sensible ordering with no filler sentences. The output enumeration is long and packed into a single sentence, which slightly hurts scanability, but every item listed is information an agent would otherwise lack.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 does the necessary work of enumerating return values, and it discloses the payment requirement — both important. But the phantom `url` parameter leaves the input contract ambiguous, and there is no guidance on malformed/oversized reports or failure modes, which matters for a parser of externally supplied XML.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema's inline example documents the `text` payload thoroughly, so the baseline would be 3. However, the description advertises a `url=` parameter that does not exist in the input schema and frames the two as alternatives ('url= ... or text='), while the schema declares `text` as strictly required. That mismatch can send an agent down a failing call path.

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?

Names a specific verb and resource ('Parse a DMARC aggregate (RUA) XML report') and then enumerates exactly what it produces (pass rate, alignment, dispositions, failing IPs, honeypot matches, policy advice). That detail makes it clearly distinguishable from adjacent tools like security_email_headers or security_domain_threat_report.

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?

Gives concrete invocation guidance — 'Pass url= (.xml or .xml.gz) or text= (the XML)' — and states the analytical outcome it is meant for (policy advice on moving p=none to quarantine/reject). It stops short of explicit when-not-to-use conditions or of naming an alternative tool for related questions.

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.

Resources