Skip to main content
Glama

volanea_create_campaign_draft

Create a campaign as a DRAFT for the user to review and send from the dashboard. This tool never sends — there is deliberately no send tool, because a mistaken broadcast reaches the entire audience. Audience: 'all' contacts, a 'segment' (segmentId), or an ad-hoc 'filter' condition tree. Optional A/B subject test via abSubjectB + abSamplePct. API docs: volanea_get_api_reference { resource: 'Campaigns' } or https://volanea.com/docs.

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": {
      "name": "<name>",
      "subject": "<subject>",
      "body": "<body>",
      "fromEmail": "<fromEmail>"
    },
    "name": "volanea_create_campaign_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesHTML body. Supports {{variable}} placeholders.
nameYesInternal name for the campaign list — never shown to recipients. The subject is what they see.
filterNoRequired when audience = 'filter'. Same condition DSL as segments.
replyToNoWhere replies go, if not the from address. Its domain does NOT need verifying. Point it at a real inbox — or at an inbound address, whose local part keeps its case so a ticket token survives the round trip.
subjectYesSubject line recipients see. Supports {{variable}} placeholders, including the {{name | "default"}} fallback form.
audienceNoWho receives it. `all` = every subscribed contact. `segment` = an existing segment, and requires `segmentId`. `filter` = an inline condition tree, and requires `filter` — use it for a one-off audience you do not want to keep. Unsubscribed contacts are excluded from all three, since campaigns are marketing mail.
fromNameNoDisplay name shown beside the from address, e.g. "Volanea Team".
fromEmailYesSender address. Its domain must be verified for this project or the send is refused — check volanea_get_project_status for which domains are verified before choosing one.
segmentIdNoRequired when audience = 'segment'.
abSubjectBNoVariant-B subject line for an A/B test.
project_idNoWhich project to act on — a projectId from volanea_list_projects. Optional when this connection reaches exactly one project; required when it reaches several (the call fails with the list of projects instead of guessing). A project API key only ever reaches its own project.
abSamplePctNoPercent of the audience in the A/B sample (5–50).
previewTextNoThe preview snippet most clients show beside the subject. Omit it and they fall back to the first words of the HTML, which is usually a logo alt-text or an unsubscribe line.

Output Schema

NameRequiredDescriptionDefault
codeNoMachine-readable failure code to branch on. Present only when success is false.
dataNoPresent when success is true.
errorNoHuman-readable failure reason. Present only when success is false.
successYesFalse when the call failed; read `error` and `code` in that case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / project_id
      Added value: +{
      +  "description": "Which project to act on — a projectId from volanea_list_projects. Optional when this connection reaches exactly one project; required when it reaches several (the call fails with the list of projects instead of guessing). A project API key only ever reaches its own project.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: no send path by design, unsubscribed contacts excluded from every audience mode, fromEmail domain must be verified or the send is refused, and replyTo's domain does not need verifying. These are exactly the operational facts an agent needs before calling, and none are derivable from readOnlyHint/destructiveHint.

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?

Four short sentences, front-loaded with the draft-only constraint, then audience modes, then A/B, then a docs pointer. Nothing is padding; the safety rationale for 'no send tool' is compressed into a single clause.

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

Completeness5/5

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

For a 13-parameter tool with a nested filter tree and an output schema, the description supplies the missing non-schema context: draft semantics, audience selection model, domain-verification prerequisite, and a pointer to the API reference for the condition DSL. Nothing an agent needs in order to invoke it correctly is absent.

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 coverage is 100% and the schema descriptions are themselves rich, so the baseline is 3. The description's audience-mode and A/B sentences largely restate the audience, segmentId, abSubjectB, and abSamplePct schema text rather than adding new meaning, so it does not rise above baseline.

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?

Names a specific verb and resource ('Create a campaign as a DRAFT') and immediately bounds the scope with 'never sends — there is deliberately no send tool'. An agent can distinguish this from any send/delivery 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 Guidelines4/5

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

States the intended workflow clearly: the draft is for the user to review and send from the dashboard, so the agent knows its job ends at draft creation. It does not name a sibling alternative for actually sending, but it explains why none exists, which serves the same routing purpose.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.