Skip to main content
Glama

analyze_raw_email

Read-onlyIdempotent

Analyze raw email source to pinpoint delivery failures or spam issues. Parses SPF/DKIM/DMARC, checks reputation and content, delivers a 0-100 spam score with fix suggestions.

Instructions

Read-only analysis of a pasted raw RFC-5322 MIME email source. Parses Authentication-Results, Received chain, SPF/DKIM/DMARC/ARC verdicts, sender IP reputation/blacklist status, content-side spam triggers (suspicious URLs, misleading From, content/HTML imbalance), and produces a 0-100 spam score plus AI-assisted fix suggestions. rawEmail is full headers+body, max 500KB. Use to debug a specific failing email when the user can paste the raw source from their MUA; use create_email_test instead when the user can resend it. POST body is processed in-memory and not stored. No auth.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawEmailYesRaw email source including headers and body, max 500,000 characters
Behavior5/5

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

The annotations already mark the tool as read-only, idempotent, and non-destructive. The description adds valuable behavioral context beyond that: the request body is processed in-memory and not stored, no authentication is required, and the analysis includes external checks such as IP reputation. This fully supports and reinforces the annotation hints.

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?

The description is dense but tightly written. The opening sentence immediately communicates purpose and scope, the second sentence defines the parameter, and the final sentence gives usage guidance and a safety guarantee. No sentence is 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?

There is no output schema, so the description carries the full burden of explaining what the tool returns. It does so clearly: parsed verdicts, reputation checks, spam triggers, a 0-100 score, and AI-assisted suggestions. It also includes relevant caveats like max size, in-memory processing, no auth, and when to prefer the sibling tool.

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 input schema already documents rawEmail thoroughly, including type, required flag, and max length, so the schema coverage is 100%. The description adds mild reinforcement by stating that rawEmail must contain full headers and body and by repeating the 500KB limit, but it does not add substantive meaning beyond 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?

The description specifies a clear verb and resource: read-only analysis of a pasted raw RFC-5322 MIME email source. It enumerates concrete parsed elements and outputs (verdicts, reputation/blacklist status, spam score, fix suggestions). It also distinguishes itself from create_email_test by naming when each should be used.

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 this tool: debug a specific failing email when the user can paste raw source. It also names the alternative: use create_email_test when the user can resend the email. This is clear and directly actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RoscoNL/intodns-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server