Skip to main content
Glama
camelmailer

CamelMailer MCP Server

Official
by camelmailer

create_campaign_draft

Create an email campaign as a draft for review before sending. Optionally set a scheduled time to send it automatically, or leave unset to keep it in draft state.

Instructions

Write a campaign WITHOUT sending it. Leave scheduled_at unset and the campaign stays a draft; set it and the server sends when due. This is the tool to use when a campaign should be reviewed first — use send_campaign_now only when it should go out immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesSender address on a verified sending domain
nameNoDisplay name
streamYesBroadcast stream to send to
subjectNoMessage subject
html_bodyNoHTML body
text_bodyNoPlain-text body
scheduled_atNoRFC 3339 send time; arms the campaign as scheduled

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It does this well by explaining that unset scheduled_at keeps the campaign a draft and that setting it causes the server to send when due. It does not cover side effects like whether the campaign becomes immediately visible or what auth is required, but the core safety-relevant behavior is clear.

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?

Three tight sentences with no wasted words. The most important behavior ('WITHOUT sending it') is front-loaded, the draft/scheduled mechanism is second, and the sibling comparison is last. Every sentence earns its place.

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 7-parameter tool with full schema coverage, the description covers selection, the draft/schedule behavior, and the sibling alternative. The only real omission is the return value, since there is no output schema; stating that the call returns a campaign ID or status would make it fully complete, but this is not critical for selecting and invoking the tool.

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 100%, so the baseline is 3. The description adds real semantic value beyond the schema by explaining that scheduled_at is the draft/send switch: leave it unset for a draft, set it to send when due. This clarifies the most important parameter's behavior more concretely than the schema's 'RFC 3339 send time' note.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Write a campaign' and immediately clarifies the key distinction 'WITHOUT sending it.' It also contrasts with send_campaign_now, so an agent can tell this tool apart from its closest sibling without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool: 'when a campaign should be reviewed first' and explicitly names the alternative condition: 'use send_campaign_now only when it should go out immediately.' This is direct when/when-not guidance with a named sibling.

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