Skip to main content
Glama
email-design-mcp

email-design-mcp

screenshot_to_email

Generate branded MJML emails from screenshot or mockup descriptions, including multi-screenshot support for long layouts.

Instructions

Convert a design description (from a screenshot or mockup) into a branded MJML email. Describe the layout, colors, sections, and content — the AI will generate matching MJML. Supports multiple screenshots for long emails (pass an array of descriptions).

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": {
      "image_description": "<image_description>"
    },
    "name": "screenshot_to_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoEmail type. Auto-detected if not specified.
brand_idNoBrand profile ID to use for colors/fonts. Uses the most recently updated brand if not specified.
image_descriptionYesDetailed description of the email design to recreate. MUST include for EACH section: (1) background color (dark/light/specific color), (2) text colors, (3) layout structure, (4) number and arrangement of images, (5) button styles. Especially note if the email is DARK-THEMED throughout — state this explicitly. Pass a single string, or an array of strings for multiple screenshots.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It says the AI will generate matching MJML and that multiple screenshots can be passed as an array, but it does not clarify return format, side effects, permissions, or how branding defaults are resolved beyond what the schema notes.

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 description is front-loaded and reasonably concise. The second sentence partially repeats schema-level detail about layout, colors, sections, and content, but it remains useful for framing the expected input.

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?

For a three-parameter email-generation tool with fully described schema fields and no output schema, the description gives enough context to call it correctly. It could be stronger by clarifying the return behavior and its relationship to sibling email tools.

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 the parameter meanings are already fully documented. The description reinforces the multi-screenshot array behavior but adds no substantive meaning beyond the schema.

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 states a specific transformation: converting a design description from a screenshot or mockup into a branded MJML email. It is clear what the tool does, but it does not explicitly differentiate itself from sibling tools such as generate_email or compile_mjml.

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 usage when the agent has a design description from a screenshot or mockup and wants branded MJML output. It does not state when to use this instead of alternatives, nor does it set exclusions or prerequisites.

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