Email Header Analyzer
analyze_email_headersParse raw email headers to extract SPF/DKIM/DMARC verdicts, key fields, and the full Received hop chain with per-hop delays and total transit time.
Instructions
Parse raw email headers and report the SPF/DKIM/DMARC verdicts (from Authentication-Results), key fields (From, Subject, Date, Message-ID, Return-Path) and the Received hop chain with per-hop delays and total transit time.
Args:
headers (string): the raw email headers.
response_format ('markdown' | 'json'): output format (default 'markdown').
Returns: { auth{spf,dkim,dmarc}, fields{}, hops[{index,from,by,date,delaySec}], totalSec }.
Example: paste the headers from "Show original" in Gmail to trace a message's path and authentication.
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": {
"headers": "<headers>"
},
"name": "analyze_email_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | Yes | The raw email headers to analyze (RFC 5322). | |
| response_format | No | Output format: 'markdown' for a human-readable summary (default) or 'json' for the full structured payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | Yes | ||
| hops | Yes | ||
| fields | Yes | ||
| totalSec | Yes |