Skip to main content
Glama

UXON AI

experiments_create_and_launch

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Create and immediately launch an A/B/n Experiment using complete redirect variants after explicit confirmation.

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": {
      "siteId": "<siteId>",
      "nickname": "<nickname>",
      "control": "<control>",
      "variants": "<variants>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "experiments_create_and_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
goalIdNo
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
confirmYesRequired for this high-impact action. Set to true only after the user has approved the action.
controlYesThe baseline experience for a modern A/B/n experiment. source can be uxon, external, or url_patterns. Traffic weight must be included and all rows must total 100.
nicknameYes
variantsYes
audienceIdNoOptional saved audience UUID, or system:<key>. The platform snapshots the audience rules when saved.
deviceTypeNoSupported values: all-devices, desktop-only, mobile-only. Default: all-devices.
geoFiltersNoOptional country targeting. Send countries.type include/exclude, countryCodes as ISO 3166-1 alpha-2 codes, and includeUnknown for visitors where country cannot be detected.
hypothesisNo
testTriggerNoSupported values: entry, visits. Default: entry.
visitorTypeNoSupported values: all-visitors, new-visitors, returning-visitors. Default: all-visitors.
audienceRulesNoSaved audience rules. Match all/any conditions across channel, event_name, UTMs, device, visitor_type, country, region, hostname, browser_language, viewport, query_parameter, url, or referrer. Event-triggered conditions can include eventLookbackDays: 7, 14, 30, or 90.
selectedGoalsNoRecommended goal input. Use one or more goal objects; Bounce cannot be combined with another goal.
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
multiPageScopeNoMulti-page hosting scope: native runs only on this account's Revenuefly pages; all includes external websites and requires external-testing access. Existing campaigns retain their saved scope.
trafficFiltersNoExact string key/value tracking filters. Runtime compares stored tracking value === provided value. No regex, operators, arrays, or country targeting. Common app fields: utm_source, utm_medium, utm_campaign, utm_content. Also supported when present: utm_term, utm_id, utm_source_platform, gclid, gbraid, wbraid, fbclid, msclkid, ttclid, li_fat_id, twclid. Use geoFilters for country targeting.
experimentTitleNo
campaignPriorityNo
redirectFrequencyNo
preserveRedirectParamsNoDefault true. When a redirect sends visitors to another URL, keep UTMs, click IDs, and other query parameters.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / multiPageScope
      Added value: +{
      +  "description": "Multi-page hosting scope: native runs only on this account's Revenuefly pages; all includes external websites and requires external-testing access. Existing campaigns retain their saved scope.",
      +  "enum": [
      +    "native",
      +    "all"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare non-readOnly, idempotent, non-destructive, openWorld=false, so safety framing is partly pre-supplied. The description adds real value by requiring the agent.instructions.get prerequisite and explicit user confirmation for a high-impact action, but it says nothing about what launching does (live traffic exposure, irreversibility, or whether a launched experiment can be paused/ended via experiments_pause or experiments_end).

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?

Two short sentences, prerequisite front-loaded ahead of the action, with no filler. It is efficient, though the instruction-pointer sentence is boilerplate rather than tool-specific information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 23-parameter, nested-object, high-impact create-and-launch mutation, the description is thin: it omits the redirect-only restriction on experienceType, the 100% traffic-weight allocation rule, and the idempotency/retry expectation. An output schema exists so return values need not be described, but the operational preconditions an agent needs are only partly covered.

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 61% across 23 parameters, so the schema carries most of the load. The description contributes one meaningful constraint — variants must be complete redirect experiences — plus the confirmation requirement mapping to the confirm flag, but says nothing about traffic weights totalling 100, the 1-4 variant cap, idempotencyKey usage, or audience/goal parameters.

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?

States a specific compound verb and resource: 'Create and immediately launch an A/B/n Experiment using complete redirect variants.' That distinguishes it from a plain create or a separate launch, but it never names the sibling tools (experiments_create, experiments_launch) it sits between, so the agent must infer the split.

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?

'After explicit confirmation' and 'complete redirect variants' hint at when this shortcut applies, but the description gives no explicit alternative routing — it does not say to use experiments_create when the user wants to review before going live, or experiments_launch when an experiment already exists. That contrast only appears in the nested variants schema text, not in the description itself.

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.

Resources