Skip to main content
Glama

Import an email from HTML

import_email_html

Turns pasted email HTML, or a public web page, into editable blocks and saves it as a template or a newsletter draft. Use it to bring emails over from another tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoOr a public https address to fetch it from.
htmlNoThe email HTML.
nameYesName for what is saved.
saveAsYes
snapToBrandNoUse the brand kit’s fonts and colours (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive write, and the description is consistent with that by stating the output is saved as a template or draft. It adds the useful fact that HTML is converted into editable blocks, but says nothing about what happens to existing content or failure behavior when a URL cannot be fetched.

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?

Two tight sentences, with the core transformation front-loaded before the usage hint. No filler, though the second sentence is thin relative to the first.

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?

No output schema exists and the annotations carry the safety profile, so the description is close to adequate. The notable gap is that html and url are both optional in the schema, yet the description never says at least one source must be supplied, leaving an ambiguity an agent could trip over.

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 80%, so the schema already documents url, html, name and snapToBrand; the description adds only the url-as-public-page nuance and restates the saveAs options (template/newsletter). With the schema doing most of the work, baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb+resource: it turns email HTML (or a fetched web page) into editable blocks and saves the result as a template or newsletter draft. That is more specific than a bare import, and 'bring emails over from another tool' hints at its niche versus create_email_template/generate_newsletter, though it never names a sibling explicitly.

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?

'Use it to bring emails over from another tool' gives a usage context, but it offers no when-not guidance and does not point to alternatives such as create_email_template or generate_newsletter, so an agent must infer when this beats building a template from scratch.

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