Skip to main content
Glama

Render an email

render

Render emailmd markdown into email-safe HTML. Returns html (the complete email document), text (the plain-text MIME part), meta (frontmatter), warnings (non-fatal repairs made while rendering; aim for none), htmlBytes, and previewUrl (a live browser preview of this exact document to share with the user).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
minifyNoMinify the HTML. Recommended for sending; helps stay under Gmail's 102KB clip limit.
markdownYesThe emailmd markdown document, optionally starting with YAML frontmatter.
partialsNoNamed markdown partials spliced in wherever the document says "::: include <name>".

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the transparency burden. It thoroughly discloses return values, including warnings for non-fatal repairs and previewUrl for live preview, giving a strong behavioral contract. It does not explicitly state side-effect freedom, but the nature of rendering makes this less critical.

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 two sentences: the first delivers the core purpose, the second compactly enumerates return values. Every word earns its place, and it is front-loaded with the most important information.

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?

Since there is no output schema, the description must explain return values, and it does so thoroughly, listing all six output fields and their meanings. Minor gaps like error handling are less critical given the schema covers parameter constraints.

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 coverage is 100%, so the schema already documents all parameters. The description adds context about the markdown format (emailmd, frontmatter) but does not elaborate on parameter details beyond the schema, matching the baseline for high schema coverage.

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's specific verb and resource: 'Render emailmd markdown into email-safe HTML.' It also lists detailed outputs, distinguishing it from sibling tools lint and read_docs, which serve different purposes.

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?

The description implies this is the rendering step but does not explicitly state when to use it versus alternatives like lint or read_docs, nor does it mention prerequisites or exclusions. Context is clear but guidance on selection is absent.

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

Each tool serves a distinct purpose: lint checks markdown issues, read_docs fetches documentation, and render produces HTML. There is no functional overlap, so an agent can easily select the correct tool.

Naming Consistency4/5

All tool names are verbs (lint, read_docs, render), but read_docs uses an underscore while the others are single words. This minor inconsistency is still clear and predictable.

Tool Count5/5

Three tools cover the essential operations for an email markdown server: validation, documentation lookup, and rendering. The count is well-scoped and not excessive.

Completeness5/5

The tool surface covers inspection, learning, and rendering, which are the core interactions needed. There are no obvious gaps for the domain of email markdown processing.