Skip to main content
Glama

inbox-preview

submit_preview

Submit an email for rendering across email clients — full HTML, or a complete raw .eml (base64). Provide exactly one of html/eml. Returns a job ID to poll for results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emlNoA complete raw RFC 822 message (.eml), base64-encoded — inserted verbatim (real headers, multipart, attachments). Max 10MB decoded. Provide exactly one of html or eml.
htmlNoThe full email HTML to preview. Provide exactly one of html or eml.
rendersNoExactly the renders you want, one entry each (e.g. outlook light + outlook dark are two entries). Omit for the server default: every live client at its default width, light.
subjectNoEmail subject line
include_previewsNoAlso capture the inbox-list row (how the message looks unread in the list) and the subject heading, returned as inbox_preview / subject_preview on each render. Default false: they cost more than the body render itself, so ask only when you need them.

TDQS

A4.2/5.0
Behavior3/5

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

No annotations provided, so description must cover behavioral traits. It mentions the return type (job ID) and input constraints, but misses details on rate limits, authentication, or error handling. Adequate but not comprehensive.

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?

Two sentences, no wasted words, front-loaded with the core action and key constraint. Highly efficient and well-structured.

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?

Given no output schema, the description covers the key outcome (job ID) and parameter constraints. Missing details about job ID format or polling URL, but sufficient for basic understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, but the description adds value by summarizing the exclusive choice between html and eml and the polling mechanism, which is not in the schema. Adds meaningful context beyond parameter descriptions.

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 clearly states the tool submits an email for rendering across email clients, specifies the two input formats (HTML or raw .eml), and distinguishes from sibling tools like get_job, get_screenshot, and list_clients by focusing on the submission action.

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?

Explicitly states the input constraint 'Provide exactly one of html/eml' and mentions the return of a job ID for polling, implying usage for previewing emails. However, does not explicitly say when not to use or compare to alternatives.

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/5.0
Disambiguation5/5

Each tool has a clear and distinct purpose: submitting previews, checking job status, fetching specific screenshots, and listing clients. No overlapping functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (get_job, get_screenshot, list_clients, submit_preview), making them predictable and easy to distinguish.

Tool Count5/5

With four tools, the server is well-scoped for its purpose—submitting email previews, tracking jobs, retrieving screenshots, and listing clients. No tools feel extraneous or missing.

Completeness5/5

The toolset covers the full workflow: submission, status polling, screenshot retrieval, and client discovery. There are no obvious gaps for the stated purpose of rendering email previews.

Resources