Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Create Campaign

create-campaign

Create a draft email campaign using sender details, subject, HTML content, and recipient lists; queue it for sending with send-campaign.

Instructions

Create a new email campaign. The campaign is created as a draft. Use send-campaign to queue it for sending.

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": {
      "title": "<title>",
      "from_name": "<from_name>",
      "from_email": "<from_email>",
      "reply_to": "<reply_to>",
      "subject": "<subject>",
      "html_text": "<html_text>",
      "recepient_lists": "<recepient_lists>"
    },
    "name": "create-campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesCampaign title
subjectYesCampaign subject line
reply_toYesReply-to email address
from_nameYesSender's name
html_textYesHTML content of the campaign
from_emailYesSender's email address
recepient_listsYesArray of list IDs to send to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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 carries the full behavioral burden, and it does disclose the most important trait: the campaign is only a draft and will not be sent until send-campaign is called. It omits other relevant behavior — whether the response returns an identifier needed for the send call, how validation failures on the required email fields are surfaced, and any permission or rate prerequisites.

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, front-loaded with the action and the resulting state, then the routing hint. No redundant restatement of the title and nothing that could be cut without losing information.

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

Completeness3/5

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

For a seven-required-parameter mutation tool with no annotations and no output schema, the description covers the create-then-send funnel but leaves a notable gap: the agent is not told that the created campaign's identifier is what send-campaign consumes, nor anything about error or permission behavior. Adequate to invoke, incomplete for chaining reliably.

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?

All seven parameters carry descriptions at 100% schema coverage, so the schema already explains title, subject, sender fields, HTML body and recipient list IDs. The description adds no meaning beyond that baseline and does not clarify nuances such as whether recepient_lists accepts only list IDs versus segments.

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 campaign') and immediately qualifies the resulting state ('created as a draft'), so the agent knows a campaign object is produced rather than dispatched. The second sentence names send-campaign and thereby separates this tool from the sending path, though create vs update-campaign/get-campaign is not addressed.

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 supplies a clear two-step workflow ('Use send-campaign to queue it for sending'), which tells the agent what to do after creating. It does not state when-not to use this tool, e.g. that an existing campaign should be modified with update-campaign or inspected with get-campaign, so usage is implied rather than fully scoped.

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