Skip to main content
Glama

Create Drag-and-Drop Email Template

create_dnd_email_template

Design a new email and save it as a template that opens in Mailercloud's drag-and-drop editor, where every row and block can be edited. Build it the way a person does in the editor: email settings, then rows. A row is a ready-made section (find them with list_email_sections and fill its slots) or a layout with blocks in each column. Read the catalog resource mailercloud://email-blocks/catalog for settings, layouts and blocks; never send HTML. A postal address is required (a footer's address slot or settings.address): ask the user for it if you don't have it. Personalise with [[key]] merge tags; there is no fallback, so never put one right after a greeting. Use dry_run: true to check and preview first.

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": "<email>"
    },
    "name": "create_dnd_email_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesThe email as rows and blocks (see the catalog resource), never HTML
dry_runNoCheck and preview the email without saving it
category_idNoCategory ID from list_template_categories

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / email / properties / rows / items / properties / slots / description
      Previous value: -"Section slot values by slot name: text slots take text; image slots take {src, alt, link, decorative}; button slots take {text, href}"New value: +"Section slot values by slot name: text slots take text; image slots take {src, alt, link, width, decorative}; button slots take {text, href}"
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important operational behavior: a postal address is required in a footer slot or settings.address, merge tags use [[key]] with no fallback and must not follow a greeting, HTML must never be sent, and dry_run previews without saving. These details materially help an agent avoid invalid or undesirable creations for a non-idempotent open-world write tool.

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 purpose is front-loaded, followed by an ordered build sequence, catalog pointer, required-address rule, merge-tag caveat, and dry-run recommendation. The paragraph is dense but every sentence contributes an actionable constraint, with no repetition or filler.

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

Completeness5/5

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

For a complex nested create tool with no output schema, the description covers the construction model, required validation, preview behavior, and the external resources needed to call it correctly. Nothing essential for correct invocation appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema: rows are either ready-made sections with slots or layouts with column blocks, the catalog resource defines settings/layouts/blocks, and address can live in a footer slot or settings.address. It does not explain category_id, but that is fully covered by the schema.

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 uses a specific verb and resource: design a new email and save it as a template that opens in Mailercloud's drag-and-drop editor. It differentiates this from a plain template-creation tool by emphasizing the row/block editor model and the instruction never to send HTML.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear construction workflow: set email settings first, then build rows from either ready-made sections or layouts with blocks, and consult list_email_sections and the catalog resource. It also recommends dry_run: true for checking and previewing first, but it does not explicitly name when to use this versus create_template or update_dnd_email_template.

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