Skip to main content
Glama
splithub-io

SplitHub

Official

splithub_results

Fetches A/B test results for an experiment, including verdict, lift, guardrails, sample quality, and segment breakdowns to guide ship or iterate decisions.

Instructions

Results of one experiment. SplitHub Cloud gives the full verdict: sample per variant, lift, P(beat), SRM, winner; mvt adds factors[]. verdict.status guardrail_breached means do not ship: a variant made a guardrail metric worse (verdict.guardrailBreached[]); say what broke. verdict.metrics[] has secondary metrics and guardrails. The experiment __holdout is the project holdout (long-term impact of all experiments). Verdicts are sequential (always-valid, safe to check any time) and depend on sample size, not days. verdict.sample.quality is small (below the minimums), ok, or good (every variant has its share of verdict.sample.goodSample, default 5000 visitors): say it next to the verdict; it never changes the decision. verdict.sample.stars (0..5) is a data-quality score from verdict.sample.checks[] (minimum, split, goodSample, power, week; each { met, label }): report the stars and the unmet labels, never as a reason to override the verdict. Quote verdict.message verbatim, use comparisons[].sequential.pValue / sequential.ci (the plain pValue is fixed-horizon, display only: p = 0.01 there can be not significant) and relay verdict.notes[]. daysToVerdict says when to check again. Facts are in verdict.message; voice.line is the friendly line for humans (voice.advice move_on = suggest finishing the experiment and starting the next one); display { label, lines, next } is ready to show. If analysis.available is false the project is self-hosted: report the raw numbers as they are, say verdicts come with SplitHub Cloud (analysis.url), and never call a winner from raw rates. If finished, ask which variant to keep, then splithub_ship. SLICE (SplitHub Cloud): from / to (YYYY-MM-DD, project time zone) keep the visitors first exposed on those days, filters keep visitors by country, device, platform (ios, android, web…), app_version, source, channel, landing page, UTM…; the answer carries scope and the verdict is computed on that slice only: say so and quote scope.note, the decision stays with the unfiltered verdict. A slice carries no voice and no advice (numbers only): never suggest shipping or finishing from one. VIEWS (one at a time, same from / to / filters; the answer has view set): by splits visitors by a dimension, segments[] each with cells per variant (order[] = variants, control first) and comparisons[] (lift vs the control inside the segment, pValue, significant, better; small = too few visitors); timeline gives exposures[] and conversions[] per day and variant (a day = visitors first seen that day, conversions whenever they happened); engagement gives bounce rate, pages per visit and avgVisit (ms) per variant from the analytics property on the same visitors (property null = no analytics there); events gives rows[] for every goal (measured goal / metric / guardrail first) and event of these visitors, each with perVariant visitors and rate and comparisons[] against the control (property null = goals only, other events need analytics on the same site). Segments, engagement and events are for exploring: never call a winner from one segment or one event.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
byNoview: lift per segment of this dimension
toNofirst-exposure day, to (inclusive)
fromNofirst-exposure day, from (inclusive)
eventsNoview: every goal and event per variant, with lift against the control
filtersNovisitor column → comma-separated values, e.g. { country: "DE,FR", channel: "Paid Search" }; "(none)" matches empty
timelineNoview: visitors and conversions per day and variant
engagementNoview: bounce rate, pages per visit, visit length per variant
experimentYesexperiment id (key)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalNo
kindNo
nextNo
rowsNoview events: every goal and event of these visitors; perVariant { visitors, count, rate, revenue } and comparisons[] against the control (lift, pValue, significant); small = too few visitors
viewNoset when by, timeline, engagement or events was asked: the shape is that view, not a verdict
scopeNopresent on a slice (from / to / filters): the verdict is computed on that slice only; quote note
voiceNofriendly line for humans; quote verdict.message for facts. advice move_on = suggest finishing and starting the next experiment
statusNo
displayNoready-to-print label (WINNER, TOO EARLY, ...), lines and next step, for showing the result
verdictNoSplitHub Cloud only
analysisNoself-hosted: raw numbers only. Tell the user verdicts come with SplitHub Cloud; never invent one
variantsNoself-hosted: raw counts per variant (conversions, rate), control first; view engagement: sessions, pagesPerVisit, bounceRate, avgVisit (ms) per variant; view events: the variant keys, control first
experimentYes
daysToVerdictNodays until a verdict at the current traffic; schedule the next check then

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description fully carries the behavioral burden. It explains that verdicts are sequential (always-valid, safe to check any time), that guardrail_breached means do not ship, that sample quality never changes the decision, that stars are not a reason to override the verdict, that plain pValue is display-only while sequential pValue should be used, and that slices and views carry no voice or advice. This is unusually thorough for a results tool.

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

Conciseness2/5

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

The content is dense and almost entirely front-loaded into a single unbroken block with no paragraph breaks or bullet structure. While many sentences carry non-trivial information, the sheer length and run-on style make it hard to parse quickly, and the sheer volume reduces readability for an agent scanning for the most relevant usage rule.

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?

Given the complexity—an experiment-results tool with slices, views, self-hosted fallback, voice/advice distinctions, and a rich output schema—the description covers all critical decision points: how to handle missing analysis, how to treat guardrail breaches, when to invoke splithub_ship, and how to interpret sequential vs plain p-values. Despite the dense formatting, no essential behavioral or interpretative guidance appears missing.

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?

Schema coverage is 100%, so the schema already documents parameters, making 3 the baseline. The description goes further: it clarifies that from/to refer to first-exposure days in the project time zone, that filters keep visitors by country/device/platform/app_version/source/etc., that timeline means 'a day = visitors first seen that day, conversions whenever they happened', and that engagement returns property null when no analytics exist. These additions meaningfully exceed the schema text.

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 opening sentence 'Results of one experiment' plus the detailed breakdown of verdict fields makes the tool's function unmistakable: it returns the full statistical verdict for a single experiment. However, it never explicitly names sibling tools like splithub_experiment_status or splithub_experiment_events to clarify why an agent would choose this over those, so it falls short of the top score.

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 concrete usage guidance: when analysis.available is false, report raw numbers and never call a winner; when finished, ask which variant to keep and then use splithub_ship; for slices, views, and segments, never call a winner from them. It lacks explicit 'use this instead of X' comparisons with sibling result-related tools, but the when-to-use and when-not-to-use conditions are otherwise richly specified.

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