MCP Server

LiveVariant

io.github.livevariant/livevariant
Data & Analytics Marketing & Advertising Public & reachable MCP 2025-11-25

What this MCP does

Builds and evaluates adaptive multi-variant A/B tests, including priors, conversion statistics, domains, assets, and test registration.

build_test
Build a test
Creates a LiveVariant test and returns every URL needed to run it, plus a freshly generated stats secret. Pass `variants` to test one element, or `slots` to test several at once (hero image AND call-to-action, say). With slots the test optimizes the COMBINATION: one model learns how the elements interact, which two separate tests structurally cannot see. There is no algorithm to pick either way; every test runs the same joint model, sized from its shape. By default, nothing is registered anywhere: the config IS the test, encoded into the URLs, and the test's identity is a hash of it. Pass `publishableKey` on an account-enabled deployment to also register the new test to that key's organization, so it appears under My tests; the config and URLs are still the test, and registration failure is returned as a warning rather than failing the build. Editing a variant later produces a DIFFERENT test with its own empty history, which is usually what you want per campaign but is worth saying out loud to whoever you are building this for. The stats secret is returned once and never again. Only its hash goes into the config, so nobody, including this service, can recover it. Give it to the person who will read the results.
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'name': {'type': 'string', 'minLength': 1, 'description': "A label for your own reference, and the one field worth spending a merge tag on in a recurring ESP template: it is part of the test's identity, so n={{campaign_name}} mints a separate, separately readable test per campaign, and the name is what list_tests searches."}, 'slots': {'type': 'object', 'description': 'Multi-element test: variants per element, keyed by a short name like "hero" or "cta". The test serves and learns combinations.', 'propertyNames': {'type': 'string', 'pattern': '^[a-z][a-z0-9_-]{0,31}$'}, 'additionalProperties': {'type': 'array', 'items': {'type': 'object', 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'Destination for redirect serving.'}, 'html': {'type': 'string', 'description': 'Inline HTML, served by the SDK.'}, 'name': {'type': 'string', 'minLength': 1, 'description': 'Shown in stats and in the utm stamp. Defaults to v1, v2, …'}, 'text': {'type': 'string', 'description': 'Inline text, served by the SDK.'}, 'image': {'type': 'string', 'format': 'uri', 'description': 'Image URL, for email variants.'}, 'markdown': {'type': 'string', 'description': 'Inline markdown, served by the SDK.'}, 'redirectUrl': {'type': 'string', 'format': 'uri', 'description': 'Where a click on this variant lands, if it differs per variant.'}}}, 'maxItems': 64, 'minItems': 1}}, 'region': {'enum': ['wnam', 'enam', 'sam', 'weur', 'eeur', 'apac', 'oc', 'afr', 'me', 'eu'], 'type': 'string', 'description': 'Where the test\'s state lives. A placement hint (wnam, enam, sam, weur, eeur, apac, oc, afr, me) or "eu" for the EU jurisdiction (state guaranteed created and kept inside the EU). Defaults to the creator\'s own region when the host can tell; without any, state is born wherever the FIRST request comes from, which in email is routinely a mail provider\'s US datacenter.'}, 'context': {'type': 'array', 'items': {'type': 'object', 'required': ['key'], 'properties': {'key': {'type': 'string', 'minLength': 1, 'description': 'Dimension name, e.g. country. Becomes ?c_<key>= on serve URLs.'}, 'from': {'enum': ['country', 'continent', 'region', 'city', 'timezone', 'device', 'language', 'organization', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_content', 'utm_term'], 'type': 'string', 'description': 'Fill this dimension from a signal the server derives, so the caller never sends it. Network signals (country, device, …) are guessed from the connection and are suppressed for proxied email fetches; utm_* are read off the link and survive a proxy intact, which makes them the reliable choice for email.'}, 'values': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 2, 'description': 'Allowed values, when they are enumerable. Anything else is rejected at serving time, which is what stops a crafted URL inventing buckets. It also makes the results readable: bucket keys are one-way hashes, and a declared list is what lets stats recover "country=nl" from one. Worth passing even for a `from` dimension, and worth getting right the first time, since `ctx` is inside the test identity and adding values later starts a new test.'}}}, 'maxItems': 8, 'description': 'Dimensions to learn a separate winner for.'}, 'variants': {'type': 'array', 'items': {'type': 'object', 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'Destination for redirect serving.'}, 'html': {'type': 'string', 'description': 'Inline HTML, served by the SDK.'}, 'name': {'type': 'string', 'minLength': 1, 'description': 'Shown in stats and in the utm stamp. Defaults to v1, v2, …'}, 'text': {'type': 'string', 'description': 'Inline text, served by the SDK.'}, 'image': {'type': 'string', 'format': 'uri', 'description': 'Image URL, for email variants.'}, 'markdown': {'type': 'string', 'description': 'Inline markdown, served by the SDK.'}, 'redirectUrl': {'type': 'string', 'format': 'uri', 'description': 'Where a click on this variant lands, if it differs per variant.'}}}, 'maxItems': 64, 'minItems': 2, 'description': 'Single-element test: two or more variants. The first is the control.'}, 'redirectUrl': {'type': 'string', 'format': 'uri', 'description': 'Where clicks land when a variant does not say.'}, 'variantParam': {'type': 'string', 'maxLength': 32, 'minLength': 1, 'description': 'Stamp the served combination into this parameter on redirect, e.g. "utm_content", so the test shows up in the customer\'s own analytics.'}, 'slotRedirects': {'type': 'object', 'description': "Where clicks on ONE element land, when elements point at different pages (a hero leading to the campaign landing page, a CTA below it to pricing). Keyed like `slots`. Falls back to `redirectUrl`; a variant's own redirectUrl still wins over both. Setting any of these means every click link must name its slot, which slotLinks does for you.", 'propertyNames': {'type': 'string', 'pattern': '^[a-z][a-z0-9_-]{0,31}$'}, 'additionalProperties': {'type': 'string', 'format': 'uri'}}, 'publishableKey': {'type': 'string', 'pattern': '^pk_[a-z0-9]{24}$', 'description': "Registers the new test to the organization identified by a publishable key the user provides for an organization they administer. Result access stays tied to this test's stats secret. Only works on account-enabled deployments; elsewhere a warning says so and the test still works."}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['testId', 'config', 'statsSecret', 'slots', 'combinations', 'region', 'urls', 'warnings'], 'properties': {'urls': {'type': 'object', 'required': ['serve', 'click', 'pixel', 'manage', 'serveNoAutoContext', 'clickNoAutoContext'], 'properties': {'click': {'type': 'string'}, 'pixel': {'type': 'string'}, 'serve': {'type': 'string'}, 'manage': {'type': 'string', 'description': "Opening this URL shows live results, and signed-in users can click 'Add to my account' to claim the test into their dashboard. It contains the stats secret in its #fragment, so share it only with people authorized to see results."}, 'clickNoAutoContext': {'type': 'string'}, 'serveNoAutoContext': {'type': 'string'}}, 'additionalProperties': False}, 'slots': {'type': 'array', 'items': {'type': 'object', 'required': ['slot', 'variants'], 'properties': {'slot': {'type': 'string'}, 'variants': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}, 'description': 'Canonical slot order with variant names, as stats reports them.'}, 'config': {'type': 'string', 'description': 'The encoded config: this is the test.'}, 'region': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': "Where the test's state will live; null means first-request placement."}, 'testId': {'type': 'string'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}}, 'slotLinks': {'type': 'object', 'description': 'Multi-slot tests only: the serve/click URL per element. The bare urls.serve returns 400 for these tests, because a serve must say which element it renders. The bare urls.click works when the destination is uniform (a config redirectUrl or ?to=); per-slot clicks matter as soon as an element carries its own destination, via slotRedirects or a variant redirectUrl.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['serve', 'click'], 'properties': {'click': {'type': 'string'}, 'serve': {'type': 'string'}}, 'additionalProperties': False}}, 'statsSecret': {'type': 'string', 'description': 'Shown once. Store it now.'}, 'combinations': {'type': 'number', 'description': 'How many distinct combinations the test chooses between.'}, 'destinations': {'type': 'array', 'items': {'type': 'object', 'required': ['host', 'verified'], 'properties': {'host': {'type': 'string'}, 'verified': {'type': 'boolean'}}, 'additionalProperties': False}, 'description': "Redirect destinations and whether each is a verified domain. Unverified means visitors see a 'Redirecting you to…' continue screen before landing; relay the verification warning to the user when present."}, 'registeredTo': {'type': 'string', 'description': 'The organization the test was registered to, when a publishableKey was given and accepted.'}, 'emailTemplate': {'type': 'object', 'description': "Query-parameter spelling per slot for an ESP template: wire it once, then campaign managers fill only the merge fields. All links share one identical config string (names, ctx dims, kh and the landing r=/sr= included, so serve and click stay ONE test); image links add &slot= per element. The click link needs no slot unless the test sets slotRedirects, in which case each element's click link carries its own. Absent when a variant has inline content or its own redirectUrl, which the parameter form cannot express.", 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['imageSrc', 'linkHref'], 'properties': {'imageSrc': {'type': 'string'}, 'linkHref': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
generate_priors
Add warm-start priors
Takes YOUR estimate of how each variant will perform and converts it into the prior the model starts from, so a test does not spend its first visitors rediscovering what you already suspect. You supply the guess; this does the arithmetic and the capping. That capping is the point: a prior is expressed as pseudo-observations, and it is deliberately held weak enough that real data overrides it quickly. The response says exactly how many real visitors per variant it takes to wash your guess out, so you can judge whether you have been too confident. Being wrong here costs a little early traffic, not the test. Priors are outside the identity hash, so the test keeps its id, its URLs and any history it already has. Pass `when` to make the belief hold for ONE segment only ("image B is the one for the blue segment"). Without it the belief is about every visitor, which is a different and much stronger claim.
Read only Idempotent
Input schema
{'type': 'object', 'oneOf': [{'required': ['test']}, {'required': ['config']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['beliefs'], 'properties': {'test': {'type': 'string', 'minLength': 1, 'description': 'The test: an encoded config, or any LiveVariant URL containing one (serve, click, pixel, manage), or a query-parameter serve URL. Paste whatever you have.'}, 'when': {'type': 'object', 'description': 'Context this belief is limited to, as dimension key to value (e.g. {"color": "blauw"}). The keys must be dimensions the test declares. Omit it for a belief about every visitor.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'config': {'type': 'string', 'minLength': 1, 'description': 'Alias for `test`: the same value under the name build_test returns it as (`config`). Pass one or the other.'}, 'beliefs': {'type': 'array', 'items': {'type': 'object', 'required': ['variant', 'rate'], 'properties': {'rate': {'type': 'number', 'maximum': 1, 'minimum': 0, 'description': 'Your estimate of its conversion rate, e.g. 0.04 for 4%.'}, 'slot': {'type': 'string', 'description': 'Which slot the variant belongs to. Optional for single-slot tests.'}, 'variant': {'anyOf': [{'type': 'string'}, {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}], 'description': 'Variant name or index within its slot.'}}}, 'minItems': 1}, 'confidence': {'anyOf': [{'enum': ['low', 'medium', 'high'], 'type': 'string'}, {'type': 'number', 'exclusiveMinimum': 0}], 'default': 'medium', 'description': 'How much your guess is worth in observations. low=5, medium=15, high=30, or give a number directly. Higher means the test trusts you for longer before the data takes over.'}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['testId', 'config', 'manageUrl', 'priors', 'washesOutAfter', 'notes'], 'properties': {'notes': {'type': 'array', 'items': {'type': 'string'}}, 'config': {'type': 'string'}, 'priors': {'type': 'array', 'items': {'type': 'object', 'required': ['slot', 'variant', 'mean', 'strength'], 'properties': {'mean': {'type': 'number'}, 'slot': {'type': 'string'}, 'variant': {'type': 'string'}, 'strength': {'type': 'number'}}, 'additionalProperties': False}}, 'testId': {'type': 'string'}, 'manageUrl': {'type': 'string'}, 'washesOutAfter': {'type': 'number', 'description': 'Roughly this many real visitors per variant and your guess stops mattering.'}}, 'additionalProperties': False}
get_stats
Read a test's results
Fetches a test's results and works out what they mean. Alongside the raw counts it returns the probability that each combination is genuinely best and the expected cost of stopping now and keeping the leader. Use those rather than comparing conversion rates by eye: a variant ahead 2/10 to 1/10 looks twice as good and is very close to a coin flip, and that mistake is the single most common way an A/B test gets called wrong. Multi-slot tests also report per-slot marginals: how each variant did across every combination it appeared in. Needs the stats secret. If you have the manage URL, its #fragment IS the secret and it will be used automatically.
Read only Open world Idempotent
Input schema
{'type': 'object', 'oneOf': [{'required': ['test']}, {'required': ['config']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'test': {'type': 'string', 'minLength': 1, 'description': 'The test: an encoded config, or any LiveVariant URL containing one (serve, click, pixel, manage), or a query-parameter serve URL. Paste whatever you have.'}, 'config': {'type': 'string', 'minLength': 1, 'description': 'Alias for `test`: the same value under the name build_test returns it as (`config`). Pass one or the other.'}, 'statsSecret': {'type': 'string', 'description': 'Omit when passing a manage URL that carries it in the fragment.'}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['testId', 'totalAssignments', 'combinations', 'slots', 'decision', 'contextBuckets', 'bySignal', 'excluded'], 'properties': {'slots': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'pulls', 'conversions', 'conversionRate'], 'properties': {'name': {'type': 'string'}, 'pulls': {'type': 'number'}, 'conversions': {'type': 'number'}, 'conversionRate': {'anyOf': [{'type': 'number'}, {'type': 'null'}]}}, 'additionalProperties': False}}}, 'testId': {'type': 'string'}, 'bySignal': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['pulls', 'conversions'], 'properties': {'pulls': {'type': 'number'}, 'conversions': {'type': 'number'}}, 'additionalProperties': False}}}, 'decision': {'type': 'object', 'required': ['leader', 'canStop', 'expectedLossIfStoppingNow', 'relativeLoss', 'advice'], 'properties': {'advice': {'type': 'string'}, 'leader': {'type': 'string'}, 'canStop': {'type': 'boolean'}, 'relativeLoss': {'type': 'number'}, 'expectedLossIfStoppingNow': {'type': 'number'}}, 'additionalProperties': False}, 'excluded': {'type': 'object', 'required': ['total', 'bySource', 'byWindow'], 'properties': {'total': {'type': 'number'}, 'bySource': {'type': 'number'}, 'byWindow': {'type': 'number'}}, 'additionalProperties': False}, 'combinations': {'type': 'array', 'items': {'type': 'object', 'required': ['choice', 'pulls', 'conversions', 'conversionRate', 'probabilityBest'], 'properties': {'pulls': {'type': 'number'}, 'choice': {'type': 'array', 'items': {'type': 'string'}}, 'conversions': {'type': 'number'}, 'conversionRate': {'anyOf': [{'type': 'number'}, {'type': 'null'}]}, 'probabilityBest': {'type': 'number'}}, 'additionalProperties': False}}, 'contextBuckets': {'type': 'number'}, 'totalAssignments': {'type': 'number'}}, 'additionalProperties': False}
get_test_status
Check a test's account and domain status
Reports what the deployment's registry knows about a test: whether it is claimed into an account (and by which organization), and whether each redirect destination is a verified domain. Unverified destinations work, but visitors see a 'Redirecting you to…' continue screen first. When you see verified: false, tell the user to verify the domain under Settings on the dashboard; the three ways are a DNS TXT record, serving the well-known file, or having the SDK tag with their publishable key live in the site's source. If the test is unclaimed, remind them the manage URL claims it in one click when opened signed in. Requires the test's stats secret, the same as get_stats. A manage URL's #fragment is used automatically.
Read only Open world Idempotent
Input schema
{'type': 'object', 'oneOf': [{'required': ['test']}, {'required': ['config']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'test': {'type': 'string', 'minLength': 1, 'description': 'The test: an encoded config, or any LiveVariant URL containing one (serve, click, pixel, manage), or a query-parameter serve URL. Paste whatever you have.'}, 'config': {'type': 'string', 'minLength': 1, 'description': 'Alias for `test`: the same value under the name build_test returns it as (`config`). Pass one or the other.'}, 'statsSecret': {'type': 'string', 'description': 'Omit when passing a manage URL that carries it in the fragment.'}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['testId', 'claimed', 'org', 'destinations'], 'properties': {'org': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': "The claiming organization's name; null when unclaimed."}, 'testId': {'type': 'string'}, 'claimed': {'type': 'boolean', 'description': 'Whether the test is registered to an organization.'}, 'destinations': {'type': 'array', 'items': {'type': 'object', 'required': ['host', 'verified'], 'properties': {'host': {'type': 'string'}, 'verified': {'type': 'boolean'}}, 'additionalProperties': False}, 'description': 'Every host this test can redirect a visitor to. verified: false means the continue screen shows before landing there.'}}, 'additionalProperties': False}
inspect_test
Inspect a test
Decodes a test and describes it: slots, variants, context, and whether it can be served by redirect. Also lints it for the mistakes that only show up once a campaign is out, such as an email test whose context comes from geo (which a mail proxy answers about itself). Use this before sending anything, and to answer 'what is this link?'.
Read only Idempotent
Input schema
{'type': 'object', 'oneOf': [{'required': ['test']}, {'required': ['config']}], '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'test': {'type': 'string', 'minLength': 1, 'description': 'The test: an encoded config, or any LiveVariant URL containing one (serve, click, pixel, manage), or a query-parameter serve URL. Paste whatever you have.'}, 'config': {'type': 'string', 'minLength': 1, 'description': 'Alias for `test`: the same value under the name build_test returns it as (`config`). Pass one or the other.'}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['testId', 'slots', 'combinations', 'region', 'context', 'resultsReadable', 'findings'], 'properties': {'name': {'type': 'string'}, 'slots': {'type': 'array', 'items': {'type': 'object', 'required': ['slot', 'variants'], 'properties': {'slot': {'type': 'string'}, 'variants': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'formats', 'servesByRedirect'], 'properties': {'name': {'type': 'string'}, 'formats': {'type': 'array', 'items': {'type': 'string'}}, 'servesByRedirect': {'type': 'boolean'}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'region': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'testId': {'type': 'string'}, 'context': {'type': 'array', 'items': {'type': 'object', 'required': ['key'], 'properties': {'key': {'type': 'string'}, 'from': {'type': 'string'}, 'values': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}}, 'findings': {'type': 'array', 'items': {'type': 'object', 'required': ['level', 'message'], 'properties': {'level': {'enum': ['error', 'warning', 'note'], 'type': 'string'}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'combinations': {'type': 'number'}, 'resultsReadable': {'type': 'boolean', 'description': 'False when the config has no stats key, which is permanent.'}}, 'additionalProperties': False}
list_tests
List my tests
Lists tests registered to the signed-in account, newest first, with cursor pagination and an optional case-insensitive name filter. Only exists on deployments with accounts, and only answers for an identified caller: unlike every other tool, WHOSE tests these are cannot be expressed as an argument. Each entry carries the encoded config, which inspect_test and get_stats accept directly.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'q': {'type': 'string', 'maxLength': 200, 'description': 'Case-insensitive substring filter on the test name'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1}, 'cursor': {'type': 'string', 'description': "Opaque cursor from a previous page's nextCursor"}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['tests', 'nextCursor'], 'properties': {'tests': {'type': 'array', 'items': {'type': 'object', 'required': ['testId', 'name', 'encoded', 'region', 'addedAt'], 'properties': {'name': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'region': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'testId': {'type': 'string'}, 'addedAt': {'type': 'number'}, 'encoded': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'nextCursor': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}
register_test
Register a test to an account
Registers a test you built earlier to the organization a publishable key belongs to, so it shows under My tests and its stats are readable from the dashboard without the secret. Use this only when the user provides both the test's stats secret and a publishable key for an organization they administer. The stats secret must match the hash inside the config, and the publishable key identifies the organization to register into. Prefer passing publishableKey to build_test directly: it registers at creation in one step. Keyless tests cannot be registered this way (nothing to prove with); they register through the tag on a verified domain. The organization can remove a listing from its dashboard (the test itself keeps serving).
Open world
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['config', 'statsSecret', 'publishableKey'], 'properties': {'config': {'type': 'string', 'minLength': 1, 'description': 'The encoded test config (from build_test or any test URL).'}, 'statsSecret': {'type': 'string', 'minLength': 1, 'description': "The test's stats secret, exactly as build_test returned it."}, 'publishableKey': {'type': 'string', 'pattern': '^pk_[a-z0-9]{24}$', 'description': 'A publishable key for the target organization, provided by a user authorized to register tests there.'}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['registered', 'org', 'testId'], 'properties': {'org': {'type': 'string', 'description': 'The organization that now owns the test.'}, 'testId': {'type': 'string'}, 'registered': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}
upload_image
Upload an image
Uploads an image to the deployment's asset store and returns its URL, for use as a variant's `image` (email tests) or `url`. The returned URL is deliberately not fetchable on its own: assets are only served with a short-lived signature that the serve endpoints mint per request, so uploading here does not create free static hosting. Use `previewUrl` (valid for an hour) to check what was stored. Storage is content-addressed: the id is the sha256 of the bytes, so uploading the same image twice is harmless and returns the same URL. Raster images only; SVG is refused because it can carry scripts. Not every deployment enables asset hosting, and this tool says so plainly when yours does not.
Open world
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['data', 'contentType'], 'properties': {'data': {'type': 'string', 'maxLength': 8000000, 'minLength': 1, 'description': 'The image bytes, base64-encoded (plain base64, not a data: URL).'}, 'contentType': {'enum': ['image/png', 'image/jpeg', 'image/gif', 'image/webp', 'image/avif'], 'type': 'string', 'description': "The image's actual type; the server stores and serves it as this."}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['assetId', 'url', 'previewUrl', 'size', 'contentType'], 'properties': {'url': {'type': 'string', 'description': "Use this as the variant's image/url. 403s without a signature, by design."}, 'size': {'type': 'number'}, 'assetId': {'type': 'string', 'description': 'sha256 of the bytes; the id inside the URL.'}, 'previewUrl': {'type': 'string', 'description': 'Signed for one hour, to verify the upload.'}, 'contentType': {'type': 'string'}}, 'additionalProperties': False}
variant_brief
Brief for writing variants
Returns the constraints to write or generate test variants against, for email or web, plus the rules that decide whether a test can be read at all once it runs. The one that matters most: one idea per slot. To vary two elements, give the test two slots and let it learn the combination, rather than bundling both changes into one variant and never learning which half worked. Ask for this before drafting variants, then produce them yourself against what it returns.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['goal', 'channel', 'format'], 'properties': {'goal': {'type': 'string', 'minLength': 1, 'description': "What the test should improve, e.g. 'more demo bookings'."}, 'count': {'type': 'integer', 'default': 2, 'maximum': 10, 'minimum': 2}, 'format': {'enum': ['image', 'text', 'html', 'url'], 'type': 'string', 'description': 'What each variant will be.'}, 'channel': {'enum': ['email', 'web'], 'type': 'string'}, 'audience': {'type': 'string', 'description': 'Who sees it, if that shapes the copy.'}}}
Output schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['goal', 'variantCount', 'specs', 'rules', 'hosting', 'nextStep'], 'properties': {'goal': {'type': 'string'}, 'rules': {'type': 'array', 'items': {'type': 'string'}}, 'specs': {'type': 'array', 'items': {'type': 'string'}}, 'hosting': {'type': 'string'}, 'nextStep': {'type': 'string'}, 'variantCount': {'type': 'number'}}, 'additionalProperties': False}
Added
variant_brief
Sept. 17, 2026, 12:43 p.m.
Added
upload_image
Sept. 17, 2026, 12:43 p.m.
Added
register_test
Sept. 17, 2026, 12:43 p.m.
Added
list_tests
Sept. 17, 2026, 12:43 p.m.
Added
get_test_status
Sept. 17, 2026, 12:43 p.m.
Added
get_stats
Sept. 17, 2026, 12:43 p.m.
Added
generate_priors
Sept. 17, 2026, 12:43 p.m.
Added
inspect_test
Sept. 17, 2026, 12:43 p.m.
Added
build_test
Sept. 17, 2026, 12:43 p.m.