Skip to main content
Glama
emailit

emailit-mcp

Official

Create Template

create-template

Create a new email template; it publishes automatically when the alias is new, otherwise saves as a draft.

Instructions

Create a new email template. Templates are automatically published if the alias doesn't exist yet; otherwise they remain as drafts.

Input Schema

NameRequiredDescriptionDefault
fromNoFrom email address in RFC format (e.g., Name <email@domain.com>).
htmlNoHTML content for the email template.
nameYesTemplate name (max 191 characters).
textNoPlain text content for the email template.
aliasYesTemplate alias for grouping versions. Lowercase letters, numbers, underscores, hyphens only.
editorNoEditor type (default: "html").
subjectNoEmail subject line (max 191 characters).
reply_toNoReply-to email address(es).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.3

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it delivers the single most surprising trait: publishing is conditional on whether the alias already exists. It stops short of covering error behavior, permission needs, or what a draft state implies for downstream calls.

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 tight sentences, purpose first and the conditional state rule second. Nothing is redundant or padded.

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 an eight-parameter create tool with full schema coverage and no output schema, purpose plus the publish/draft rule covers what the agent needs to call it. Only the return value (e.g., template id) is left unstated.

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 100%, so all eight parameters, including the alias format rule and editor enum, are already documented in the schema. The description only ties the alias to publish behavior and adds no further parameter meaning.

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 and resource: "Create a new email template." That clearly separates it from update-template, publish-template, and list-templates, though it doesn't name any 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?

Usage is implied by the create semantics, and the auto-publish rule hints at when a draft vs. published result occurs. However, it never tells the agent when to prefer update-template or publish-template, nor does it state prerequisites.

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