Skip to main content
Glama

Lookproof DNS, mail and TLS security checks

Email header analyzer

email_headers
Read-onlyIdempotent

Use when the user pastes email headers and asks why a message failed SPF, DKIM or DMARC, went to spam or arrived late. Returns the Received hops with delays, the verdicts, domains and alignment. Offline; addresses masked. Ex: 'Why did this email fail DMARC?'. Free trial without an API key: a few calls a day.

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": "email_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
headersYesThe header section of one email as text (Received, Authentication-Results, From ...); the body may be left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Adds behavior the annotations don't carry: addresses are masked (privacy), the service works offline on the pasted text, a free tier allows a few calls per day without an API key (rate limit), and it summarizes what comes back (Received hops with delays, verdicts, domains, alignment) despite there being no output schema. The 'offline' note partly restates openWorldHint=false and error handling for malformed headers isn't covered.

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 'Use when' condition, followed by return summary, behavioral notes, one example, and the free-trial note. Every sentence is short and mostly earns its place, though the example partially restates the trigger already given and the trial sentence reads slightly promotional.

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?

For a one-parameter, no-output-schema tool, the description covers the trigger, the expected output contents, privacy handling, and access limits. Nothing an agent needs to decide to call it or anticipate the response 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?

The single parameter is fully described in the schema, including that the body may be omitted, so the schema does the heavy lifting. The description adds only the implicit input mode (pasted header text), which is marginal value over the schema.

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 and resource (analyze pasted email headers) and the diagnostic goal (SPF/DKIM/DMARC failure, spam placement, delay). The 'user pastes email headers' framing cleanly separates it from sibling tools like spf, dkim and dmarc, which operate on domain records rather than a received message.

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 an explicit trigger condition ('when the user pastes email headers and asks why a message failed...') plus a sample user utterance, which is strong selection guidance. It does not name an alternative tool or a when-not case (e.g. checking a domain's live SPF record instead of a delivered message), so it falls short of a 5.

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.