Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

get_ab_results

Read-onlyIdempotent

Fetch campaign A/B test results with per-variant stats and statistical significance checks so you can determine if a variant truly outperforms or results are noise.

Instructions

A/B test results with per-variant stats and statistical significance. IMPORTANT: Most email A/B tests are underpowered. If total audience per variant is under 3,000, results are likely noise. Only declare a winner at p < 0.05 after 24-72h. Include unsubscribe rate in evaluation (a variant with higher clicks but higher unsubscribes may be net negative).

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": "get_ab_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
mdeNoMinimum detectable effect (e.g. 0.02 = 2pp).
confidenceNo
num_checksNoNumber of previous peeks (for sequential testing correction).
campaign_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is handled elsewhere. The description's real contribution is interpretive: it warns about underpowered tests and the unsubscribe trade-off, which is genuinely useful. However, with no output schema, it should describe the shape of the results (variant keys, confidence intervals, sample counts), and it omits the required campaign_id entirely.

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?

Purpose is front-loaded in the first sentence and the caveats follow in a logical order (sample size, timing, unsubscribe rate). The 'IMPORTANT:' marker is effective, though the warning block is somewhat longer than the tool description needs.

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 statistical read-only tool with no output schema and only four parameters, the description supplies the domain knowledge an agent needs to interpret results responsibly. The missing piece is the return payload shape and the purpose of campaign_id and confidence, which leaves the caller guessing at the response structure.

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 50%: mde and num_checks are documented in the schema, while confidence has only min/max bounds and campaign_id has no description at all. The description adds no parameter-level meaning, though its p<0.05 guidance loosely maps to the confidence parameter, so it is not entirely disconnected. The opaque 'num_checks' sequential-correction parameter in particular gets no support from the prose.

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 first sentence names a specific resource (A/B test results) and enumerates what it returns ('per-variant stats and statistical significance'), which sets it apart from sibling analytics tools like get_campaign or get_engagement_summary. It never names a sibling directly, so the differentiation is implicit rather than explicit.

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 gives statistical guidance about when to declare a winner (sample size >3,000, 24-72h, p<0.05), but it never states when to call this tool versus related tools such as get_campaign or get_campaign_funnel, nor does it state prerequisites like needing a campaign with an active A/B test. Usage is only implied by the tool name.

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