Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

create_campaign

Create a new email campaign using an active sending domain, with optional HTML/text bodies and recipients. Run a spam check before large sends to support deliverability.

Instructions

Create a new email campaign. Requires an active sending domain. Include both html_body and text_body for proper multipart structure (a positive deliverability signal). Always run run_spam_check before large sends.

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": {
      "domain_id": "<domain_id>",
      "from_address": "<from_address>",
      "subject": "<subject>"
    },
    "name": "create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCampaign name.
subjectYesEmail subject line.
reply_toNo
domain_idYesSending domain ID.
html_bodyNoHTML email content.
text_bodyNoPlain text fallback.
recipientsNoRecipient email addresses.
from_addressYesSender address (must use the specified domain).
campaign_typeNoOptional type (e.g. 'promotional', 'transactional').
contact_list_idNoLoad recipients from a contact list instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-readonly, non-destructive, non-idempotent, open-world write, so the safety profile is covered. The description adds real context beyond that: the sending-domain precondition, the deliverability rationale for supplying both body formats, and a pre-send verification step. It does not say whether the campaign is created as a draft/paused, what happens on failure, or any rate limits.

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 sentences, front-loaded with purpose, then prerequisites, then best-practice advice; no filler. The phrase 'before large sends' is vaguely quantified, which keeps it just below fully tight.

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 10-parameter creation tool with no output schema, the description covers preconditions and body-format guidance but never says what is returned (campaign ID or object) or whether the campaign starts in a draft state. Both matter because the natural next step is schedule_campaign or send_campaign.

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 coverage is 90%, so per-parameter meaning is largely handled by the schema and a baseline of 3 applies. The description earns an extra point by explaining the relationship between html_body and text_body (multipart structure as a deliverability signal), which is pairing guidance the schema does not express.

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?

The description opens with a specific verb and resource ('Create a new email campaign'), which is unambiguous about what the tool does. It does not distinguish itself from create_campaign_variant, which is the closest sibling and would otherwise be a plausible alternative for the same intent.

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 states a concrete prerequisite ('Requires an active sending domain') and prescribes a workflow step ('Always run run_spam_check before large sends'), naming the sibling to use. It lacks any when-not guidance or clarification of when to use recipients vs contact_list_id, so it stops short of full routing guidance.

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

Deploy Server

Other Tools