Skip to main content
Glama

campaign_ab_report

Read-only

Compare A/B email and SMS campaign variation performance with per-variation metrics. Get split results by arm to identify the winning version.

Instructions

Get per-variation (A/B arm) email/SMS campaign metrics for a Klaviyo account. Splits results by variation so you can compare arms. Rate limited: 2/min.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoCustom range end, YYYY-MM-DD. Defaults to today.
yearNoYear for quarter, e.g. 2024.
startNoCustom range start, YYYY-MM-DD. Overrides timeframe. Data floor: 2023-06-01 (earlier is clamped).
accountYesAccount name
quarterNoQuarter 1-4 (with year) - convenience for a full quarter.
timeframeNo
campaign_idNoFilter to a single campaign ID.
conversion_metric_idYesPlaced Order metric ID. Get from list_metrics.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark this as read-only and open-world. The description adds a meaningful behavioral caveat, 'Rate limited: 2/min', and clarifies that results are split by variation. This supplements the annotations without contradicting them.

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?

Two focused sentences: the first states the tool's purpose and distinguishing behavior, the second discloses a critical rate limit. No unnecessary words or repetition of schema details.

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 read-only reporting tool with high schema coverage, the description is largely complete: it names the resource, explains the A/B split behavior, and warns about throttling. It does not describe the response structure, but the absence of an output schema and the straightforward 'metrics' nature make this a minor gap.

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 description coverage is 88%, so parameters are largely self-documenting. The description does not add parameter-level detail, and none is needed beyond the schema. It provides only domain context about A/B arms, which keeps this at the 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?

Description states a specific verb ('Get'), a concrete resource ('per-variation email/SMS campaign metrics'), and the A/B arm scope. The phrase 'Splits results by variation so you can compare arms' clearly differentiates this from aggregate campaign report tools in the sibling list.

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?

The description gives clear context: use this when you need per-variation A/B arm comparison rather than overall campaign metrics. It does not explicitly name an alternative or state when not to use it, but 'so you can compare arms' communicates the intended use case well.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scalably-io/klaviyo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server