Skip to main content
Glama

Outlook MSG & EML Email to PDF Converter API

eml_msg_to_pdf
Read-onlyIdempotent

Convert Microsoft Outlook .msg and RFC 822 .eml email files into archival printable PDF documents preserving sender, recipients, date, subject, body text, and attachment inventory. Built for legal e-discovery, HR, and compliance archiving. Deterministic, zero AI, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.01/call via x402 at https://radarbg.com/x402/eml-msg-to-pdf.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "From: billing@nordic-freight.eu\r\nTo: ap@acme-manufacturing.de\r\nDate: Thu, 16 Apr 2026 09:42:10 +0200\r\nSubject: Invoice NF-2026-0842 - Container Shipment RTM->HAM\r\nMessage-ID: <nf-2026-0842@nordic-freight.eu>\r\nContent-Type: text/plain; charset=utf-8\r\n\r\nHello Accounts Payable,\r\n\r\nPlease find attached invoice NF-2026-0842 for EUR 4,850.00 covering\r\ncontainer freight Rotterdam -> Hamburg (PO #PO-8831).\r\nPayment due within 30 days.\r\n",
      "fileName": "invoice_email.eml"
    },
    "name": "eml_msg_to_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentNoRaw RFC 822 .eml email text. Provide content or fileBase64.
fileNameNoOptional original filename.
fileBase64NoBase64-encoded .eml or Outlook .msg file (max 15 MB).
inputFormatNoForce input format or auto-detect: auto, eml, or msg.auto

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: determinism, zero-AI processing, no data retention, free tier of 5 calls/day per IP, X-API-Key auth for paid tiers, and an x402 per-call payment path. Annotations already cover read-only/idempotent/open-world, so this is meaningful supplementary context; only the response shape (link vs inline PDF) is left undisclosed.

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?

Front-loaded with the conversion purpose, then audience, then behavior, then commercial/access terms. The long final sentence is dense but every clause (free quota, key auth, price, payment URLs) is needed to invoke the tool successfully.

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?

Covers purpose, preserved fields, privacy posture, rate limits, and auth for a moderate-complexity conversion tool with full schema coverage. The one gap is that with no output schema, the description never says whether the resulting PDF is returned inline, as base64, or as a link.

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%, so content, fileName, fileBase64 (with the 15 MB cap), and inputFormat enum are all documented in the schema. The description adds nothing about parameter interplay such as preferring content over fileBase64, so 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 and resource: converting Outlook .msg and RFC 822 .eml files into PDF, and enumerates what is preserved (sender, recipients, date, subject, body, attachment inventory). The input format specificity distinguishes it from generic siblings like html_to_pdf_api and markdown_to_pdf_api without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Offers audience-level context ('legal e-discovery, HR, and compliance archiving') that implies when to reach for it, but never states when not to use it or routes the agent to an alternative converter. Guidance is implied rather than explicit.

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