Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Send Transactional Template

send-transactional-template

Send a transactional email through a predefined template to one or more recipients, with optional merge tags, attachments, reply-to, and tracking. Requires a paid account and verified sending domain.

Instructions

Send a transactional email using a pre-defined template. Requires a paid account with a verified sending domain.

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

Input Schema

NameRequiredDescriptionDefault
toYesArray of recipients
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
template_idYesID of the template to use
global_merge_varsNoMerge tags for personalization

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/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 does disclose the account/domain prerequisite plus that the email is template-driven rather than free-form. It omits other behaviors that matter for an irreversible send: rate limits, whether delivery is immediate, what happens with an unknown template_id, and what the call returns.

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 action first and the gating constraint second. Nothing is repeated and nothing is wasted.

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?

This is a 9-parameter, 5-required tool with nested objects and no output schema and no annotations, so the description should say what a successful send returns (message id, status) and how the template_id and merge vars interact. It addresses only the plan/domain prerequisite, leaving the response contract entirely unexplained.

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 every parameter including nested recipient, attachment, and merge-var fields is already documented in the schema. The description adds no parameter-level meaning beyond what structured data provides, so the baseline 3 applies.

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') plus a meaningful qualifier ('using a pre-defined template') that implicitly separates it from the templateless 'send-transactional-email' sibling. It never names that alternative explicitly, so an agent must infer the distinction.

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 prerequisite ('requires a paid account with a verified sending domain') is real gating guidance that tells an agent when the call will fail. However, it says nothing about when to choose this over send-transactional-email or send-campaign, nor whether the template must already exist.

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