Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

create_campaign_variant

Create an A/B test variant for a campaign by defining an alternate subject line or body content and setting the split percentage.

Instructions

Create an A/B test variant for a campaign. Define alternate subject line and/or body content with a split percentage.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "create_campaign_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectNoAlternate subject line.
html_bodyNo
text_bodyNo
campaign_idYes
variant_labelNoLabel (e.g. 'Variant B').
split_percentageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so safety and repeatability are covered. The description adds that this creates an alternate content set with a split percentage, but says nothing beyond that: no limits on the number of variants, no note on what happens to traffic not covered by the split, and no mention of authorization scope.

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?

Two tight sentences with the action front-loaded and the required inputs summarized second; nothing is redundant. It could have spent one of those sentences on constraints rather than on restating the obvious 'and/or' flexibility, but the structure itself is clean.

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 six-parameter mutation tool with no output schema but with annotations carrying the safety profile, the description covers the core intent and the split semantics. It is only slightly thin on preconditions and on what the tool returns after creating the variant.

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 only 33%, so the description must compensate; it does partially by clarifying that subject and body content are the alternate (test) content and that split_percentage controls the traffic division. It still leaves html_body and text_body undocumented (no schema descriptions at all) and does not explain the relationship between the two body formats or what campaign_id anchors.

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 uses a specific verb and resource ('Create an A/B test variant for a campaign') and names the configurable content pieces, so an agent knows exactly what object is produced. It does not explicitly distinguish this from sibling tools like create_campaign or create_template_version, leaving differentiation to the reader.

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?

Usage is implied: use this when setting up an A/B test on an existing campaign by supplying alternate content plus a split. There is no explicit when-not guidance, no statement of prerequisites (e.g. campaign must exist, and whether it must be unsent or in draft), and no named alternative for creating the base campaign itself.

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