Skip to main content
Glama

get_campaign_split_results_tool

Read-only

Per-arm results of each A/B split (conditionType 'ab_split') in a campaign: contacts routed to each arm and their share, contacts the arm reached, LinkedIn invitations sent and accepted, human replies, positive replies and meetings booked (rates are per contact routed, except the acceptance rate, which is per invitation sent), bounces and unsubscribes; for all time and, once the split's weights changed on the running campaign, for the contacts the split routed since (contacts the change moved to the other arm count in all time only, in their new arm). Each split also has replySeries: replies per arm over time, zero-filled. Optional since / to (ISO instants) keep only the contacts that entered an arm in that range; timezone (IANA) sets the days the series is bucketed by. A contact counts in the arm it is in, whatever step it replied to. There is no winner and no significance test: when isSmallSample is true (fewer than 20 replies across both arms), say that a gap between the arms is most likely chance. To shift traffic between arms, change the split's weights with update_sequence_step_tool.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "get_campaign_split_results_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO 8601 instant: count only the contacts that entered an arm at or before it. Omitted: up to now.
sinceNoISO 8601 instant: count only the contacts that entered an arm at or after it. Omitted: since launch.
timezoneNoIANA timezone whose calendar days the reply series is bucketed by. Default: UTC.UTC
campaignIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish read-only, non-destructive, closed-world, but the description adds substantial semantics beyond them: rate denominators (per contact routed, except acceptance rate per invitation sent), all-time vs since-weights-changed reporting, the rule that contacts moved by a weight change count in all time only in their new arm, zero-filled replySeries, and the small-sample interpretation rule. This is exactly the kind of analytical caveat an agent needs to avoid misreporting.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scope statement is front-loaded, but the metric enumeration is delivered as one long semicolon-chained run-on sentence, making the description a dense wall of text. Nearly every detail is substantive, yet the lack of structure (bullets or sentence breaks per concern) costs readability.

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 complex analytics tool with no output schema, the description carries the burden well: it explains what each arm's result contains, the two time bases, the replySeries shape and zero-filling, and the isSmallSample flag. What is missing is the top-level response shape (e.g., whether splits are returned as an array keyed by split id) and any pagination or size limits.

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?

With 75% schema coverage the schema already documents since/to/timezone, but the description adds the key nuance that the window filters on when a contact 'entered an arm' rather than any other timestamp, and that timezone only controls the day bucketing of replySeries. campaignId is left undocumented in the description, though it is self-evident as the required scope parameter.

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 names a precise verb+resource scope: per-arm results for A/B splits (conditionType 'ab_split') within a campaign, and enumerates the exact metrics returned (routed contacts, share, reach, invitations sent/accepted, replies, positive replies, meetings, bounces, unsubscribes, replySeries). An agent can tell this apart from broader analytics siblings like get_campaign_analytics_trend_tool or get_campaign_lane_funnel_tool because the split-arm slice is stated explicitly.

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?

It gives clear usage context: use it to compare arms, and it warns there is no winner or significance test, with explicit guidance to call a gap chance when isSmallSample is true (fewer than 20 replies). It also routes traffic-shifting intent to update_sequence_step_tool. It stops short of an explicit 'when not to use this, use X instead' against the other analytics tools.

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.