Skip to main content
Glama

email html

email_html
Read-only

Turn Markdown into a responsive HTML email that renders in Gmail, Outlook and Apple Mail (table layout, inline styles, hidden preheader, brand colour, logo, call-to-action button, footer), plus the plain-text part. Costs $0.002 USDC per call (x402).

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": {
      "markdown": "<markdown>"
    },
    "name": "email_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNo
footerNo
subjectNo
logo_urlNo
markdownYes
preheaderNo
button_urlNo
brand_colorNo
button_textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful non-schema behavior: the target-client compatibility constraint (Gmail, Outlook, Apple Mail) and the per-call cost of $0.002 USDC via x402, which is material for agent decision-making. It stops short of describing response shape or payment mechanics.

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?

The purpose leads and the detail is packed into a single front-loaded sentence, so an agent gets the core function immediately. The parenthetical list is dense but each item earns its place as an output-feature disclosure; the pricing clause is separated cleanly at the end.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 9 parameters at 0% schema coverage and no output schema, the definition should carry more weight. It signals that output is HTML plus a plain-text part, but omits response format details, the x402 payment flow, and clarification of several parameters, leaving real gaps for a paid, multi-param 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?

Schema coverage is 0%, so the description bears the full burden, and it only partially compensates. It maps several parameters (brand colour, logo, CTA button, footer, preheader) but says nothing about subject, brand, or the required markdown field, and gives no format hints (e.g. hex color, URL form). Helpful but incomplete for 9 undocumented parameters.

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 gives a specific verb and resource ("Turn Markdown into a responsive HTML email") and then enumerates the concrete output artifacts (table layout, inline styles, hidden preheader, brand colour, logo, CTA button, footer, plain-text part). This is clearly distinct from generic siblings like markdown_render or html_render, so an agent can route correctly.

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?

There is no explicit when-to-use / when-not guidance and no named alternative (e.g. why this over markdown_render or html_render, or how it relates to email_send). Usage is only implied by the email-specific purpose, and the pricing line hints at a cost consideration but does not state selection criteria.

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