Skip to main content
Glama

email_header_analyzer

Read-only

Parse pasted raw email headers: the Received: delivery path with per-hop delays, the SPF/DKIM/DMARC verdicts, the originating IP, and spoofing warnings. Pure parsing — no network.

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": {
      "rawHeaders": "<rawHeaders>"
    },
    "name": "email_header_analyzer"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawHeadersYesThe raw email headers, copied verbatim from the message source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds real context beyond the annotations: it enumerates what the analysis surfaces (hop delays, auth verdicts, spoofing warnings) and states the operation is local-only parsing. Note a mild tension with openWorldHint=true, since a pure parser of supplied text does not reach external entities; readOnlyHint is consistent. It does not mention input size limits or malformed-header handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with a colon-delimited output list and a short qualifying clause. Every element carries information; nothing is repeated from the title or schema.

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 burden of describing results and does so by naming the four output categories. Missing only edge-case behavior (oversized input, partially malformed headers, multiple messages in one paste), which keeps it from a 5.

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?

Only one parameter, and the schema already describes it fully ("copied verbatim from the message source"). The description reinforces the pasted/verbatim framing but adds no format, size, or encoding guidance beyond the schema, so the baseline 3 applies.

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?

States a specific verb ("Parse") and resource ("pasted raw email headers") and then enumerates the concrete artifacts produced: Received: hop path with per-hop delays, SPF/DKIM/DMARC verdicts, originating IP, and spoofing warnings. The trailing "Pure parsing — no network" implicitly separates it from network-query siblings such as dkim_lookup or dmarc_check.

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?

"Pasted raw email headers" and "no network" tell the agent the precondition (you already hold the raw header text) and the key distinction from DNS-based verdict tools. It stops short of explicitly naming an alternative or saying when not to use it, so it lands just below the top mark.

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