Skip to main content
Glama

Email Header Analysis

email_header_analysis
Read-onlyIdempotent

Parse raw email headers to reconstruct the delivery path (each Received hop in order), extract SPF/DKIM/DMARC authentication results, measure per-hop delays, and flag unencrypted (non-TLS) hops. Use this to diagnose a specific message that was already delivered — spoofing, delays, or where mail was lost. Use email_auth instead to assess a domain's sending configuration before sending. Read-only; requires no API key; rate-limited. INPUT is the full raw header block. OUTPUT is a text report containing: the ordered hop route, per-mechanism auth results (pass/fail), detected inter-hop delays, and the encryption status of each hop.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
headersYesThe complete raw email header block, copied verbatim — every line from the first 'Received:'/'From:' down to the blank line before the body. Paste as-is, including folded continuation lines; do not include the message body.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kpisNoKey metrics as label/value pairs
gradeNoLetter grade (A+ to F) when the tool grades the target
scoreNo0-100 score when the tool scores the target
issuesNoDetected problems, severity-rated
statusYesOverall verdict, e.g. 'good' | 'warning' | 'bad' | 'info' | 'unknown'
actionsNoRecommended next actions, most important first
summaryNoOne-paragraph interpretation of the result
reportUrlYesHuman-facing interactive report for this exact lookup on dechonet.com

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds beyond that by noting 'requires no API key; rate-limited' and specifying that the output is a text report rather than a structured JSON object. This enriches the behavioral picture without contradicting annotations.

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?

Four sentences, each with a distinct job: core function, intended use case, sibling differentiation, and input/output contract. The description is front-loaded and avoids redundancy, though it is slightly longer than the minimal two-sentence ideal; no sentence feels wasted.

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?

With only one required parameter, an output schema present, and detailed annotations, the description covers all needed context: input format, output format, intended use, alternative tool, and operational constraints. Nothing an agent needs to select and invoke this tool correctly is missing.

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?

Schema description coverage is 100%: the input schema already explains exactly what 'headers' should contain, how to copy it, and what to exclude. The description only restates 'INPUT is the full raw header block,' adding no new parameter semantics beyond the schema. Baseline 3 is appropriate given the high schema coverage.

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 states a specific verb and resource: 'Parse raw email headers to reconstruct the delivery path... extract SPF/DKIM/DMARC... measure per-hop delays, and flag unencrypted hops.' It clearly enumerates the tool's outputs and distinguishes it from the sibling email_auth by specifying a different diagnostic use case.

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?

Explicitly states when to use the tool: 'diagnose a specific message that was already delivered — spoofing, delays, or where mail was lost.' It also names the alternative: 'Use email_auth instead to assess a domain's sending configuration before sending,' and adds operational guidance about being read-only, keyless, and rate-limited.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool targets a clearly distinct diagnostic concern: DNS, SSL, HTTP headers, email auth, email headers, ASN, reverse DNS, WHOIS, ports, subnet math, and the caller IP. The overlapping tools (ssl_check vs http_security vs security_scan) are explicitly differentiated by scope and depth, with cross-references that remove ambiguity.

Naming Consistency5/5

All tool names use lowercase snake_case and follow a consistent noun_verb or noun_noun pattern built around the resource being inspected, such as dns_lookup, ssl_check, port_scan, and whois_lookup. There are no mixed conventions like camelCase or inconsistent verb styles.

Tool Count5/5

13 tools is a well-scoped size for a network/domain/security diagnostic server. Each tool covers a distinct diagnostic capability, and the count is substantial enough to feel complete without becoming bloated or redundant.

Completeness5/5

The tool surface provides broad read-only coverage of domain and network diagnostics: DNS, propagation, WHOIS, ASN, reverse DNS, SSL, HTTP security, email authentication, raw email headers, port scanning, subnet calculation, and an aggregate security scan. There are no obvious dead ends for the stated purpose of domain/network/security investigation.

Resources