Skip to main content
Glama
email-design-mcp

email-design-mcp

export_email

Export generated emails as HTML, MJML, or both. Select any version from refinement history to retrieve the exact template you need.

Instructions

Export a generated email as HTML, MJML, or both. Supports exporting specific versions from the refinement history.

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": {
      "email_id": "<email_id>"
    },
    "name": "export_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoExport format. Defaults to "both".
versionNoExport a specific version. Defaults to the latest.
email_idYesID of the email to export

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say whether export is a pure read, whether it writes a file, whether it requires the email to be validated/compiled first, or what the caller receives back. 'Export' is a mutation-adjacent verb left completely unspecified.

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 short sentences with the core capability front-loaded and the versioning nuance second. No filler or redundancy.

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

Completeness2/5

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

With no annotations and no output schema, the definition never explains the shape of the export result (returned content, file path, or download reference), which is the single most important thing for a caller of an export tool. For a three-parameter tool with zero structured behavioral coverage, this is a meaningful gap.

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 all three parameters are already documented with defaults. The description adds only the 'refinement history' framing for version, matching rather than extending the schema. 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?

States a specific verb (export) and resource (a generated email) plus the concrete output formats (HTML, MJML, both). It also names the versioning capability. It does not explicitly contrast with siblings like compile_mjml or generate_email, so it stops short of a 5.

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?

Usage is only implied: the phrase 'generated email' and 'refinement history' suggest calling this after generation or refinement, but there is no explicit when-to-use, no when-not-to-use, and no pointer to an alternative such as compile_mjml.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.