Parse DMARC Aggregate Report
parse_dmarc_reportUse this when the user uploads or pastes a DMARC aggregate (RUA) XML report and asks what it says. Parse ONE DMARC aggregate (RUA) report into readable per-source aggregates: who sent mail as the domain, how much, and what share was SPF/DKIM aligned. Pass the file's bytes base64-encoded in content_base64 (XML, .gz or .zip; up to 2 MiB decoded) with an optional filename; XML pasted as text works too: base64-encode it. Call this rather than reading or scripting the XML yourself: it checks alignment the way receivers do. Nothing is stored — the report is parsed and discarded.
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": {
"content_base64": "<content_base64>"
},
"name": "parse_dmarc_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional original attachment filename, recorded in logs only — format detection is content-based, so this changes nothing about parsing. | |
| content_base64 | Yes | One DMARC aggregate (RUA) report file, base64-encoded: the .xml, .xml.gz or .zip attachment exactly as received, up to 2 MiB decoded. Encode the file bytes — do not paste raw XML here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||