Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Send Transactional Email

send-transactional-email

Send one-off transactional emails such as password resets, order confirmations, and notifications with custom HTML/text, attachments, and merge-tag personalization.

Instructions

Send a transactional email with custom HTML/text content. Requires a paid account with a verified sending domain.

When to use: User wants to send a one-off email (password reset, order confirmation, notification, etc.)

Limits: 100,000 bytes for merge tags. Message + attachments must be under 4 MB.

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": {
      "subject": "<subject>",
      "from_name": "<from_name>",
      "from_email": "<from_email>",
      "to": "<to>"
    },
    "name": "send-transactional-email"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesArray of recipients
htmlNoHTML content. At least one of text or html is required.
textNoPlain text content. At least one of text or html is required.
optionsNoTracking options
subjectYesEmail subject line
reply_toNoReply-to email address
from_nameYesSender's display name
from_emailYesSender's email (must be from a verified domain)
attachmentsNoFile attachments
global_merge_varsNoMerge tags for personalization

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/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 does more than most: it discloses an account prerequisite (paid account, verified sending domain) and hard limits (100,000 bytes for merge tags, 4 MB total for message plus attachments). Still absent are rate limits, quota/consumption behavior, and what happens on partial failure.

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?

Three short front-loaded segments with bold headers, no filler, and the hard constraints surfaced early where an agent will see them before composing a payload. Minor cost: the header formatting consumes tokens that plain sentences would not.

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 ten-parameter mutation with nested objects and no output schema, the description covers the account prerequisite, the content requirement, and the payload size ceiling. It is thin on return value and error semantics, but the parameter surface itself is fully documented by the schema.

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 schema already documents all ten parameters including nested recipients, attachments, and merge vars. The description adds only size ceilings tied to global_merge_vars and attachments, which nudges it to a solid baseline 3 rather than higher.

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 ('Send a transactional email with custom HTML/text content'), and the phrase 'custom HTML/text content' implicitly separates it from the template-based sibling. It stops short of naming send-transactional-template outright, so the contrast has to be inferred.

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?

The 'When to use' block gives concrete triggers (password reset, order confirmation, notification, one-off email), which is real selection guidance. It never states when NOT to use this tool, e.g. that templated/bulk sends belong to send-transactional-template or create-bulk-transactions, so the exclusion side is missing.

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