Skip to main content
Glama

UXON AI

experiments_create

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Create a draft Experiment using current goal, source and targeting validation.

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>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "experiments_create"
  }
}

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.
nicknameYes
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
experiencesNo
testTriggerNoSupported values: entry, visits. Default: entry.
urlPatternsNoRequired when either side uses url_patterns. Provide side, match operator, and up to 12 include/exclude URL rules.
visitorTypeNoSupported values: all-visitors, new-visitors, returning-visitors. Default: all-visitors.
controlLabelNo
trafficSplitNoLegacy alias for the control percentage. Prefer trafficAllocation; if both are supplied they must match.
variantLabelNo
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.
controlSourceNo
selectedGoalsNoRecommended goal input. Use one or more goal objects; Bounce cannot be combined with another goal.
variantSourceNo
controlPageUrlNo
controlVariantNo
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.
variantPageUrlNo
variantVariantNo
experimentTitleNo
campaignPriorityNo
redirectFrequencyNo
trafficAllocationNoControl experience percentage, not the total eligible audience. For a 50/50 comparison use 50; the redirect gets the remaining 50. Use this field or its trafficSplit alias, not conflicting values.
controlLandingPageNo
variantLandingPageNo
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

C2.7/5.0
Behavior3/5

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

Annotations already establish that this is a non-read-only, non-destructive, idempotent, closed-world create operation. The description adds that the result is a draft experiment and that targeting validation is involved, which is useful context beyond the annotations. However, it does not explain the required confirmation gate, retry/idempotency behavior, or what happens when validation fails.

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 second sentence is compact and front-loads the operation. The first sentence is a platform-wide instruction rather than tool-specific purpose, and the trailing phrase about goal, source, and targeting validation is vague, so some space is not earning its place.

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

Completeness2/5

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

The tool is complex: 35 parameters, nested objects, enums, required confirm and idempotencyKey, and an output schema. The description acknowledges that it creates a draft experiment but does little to explain the required parameters, validation behavior, or when to choose this over related draft/launch/update tools. Since an output schema exists, return-value explanation is not required, but the invocation guidance is still thin.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 35 parameters and only 46% schema description coverage, the description must compensate for the many undocumented fields. It mentions only 'goal, source and targeting validation' at a high level, without clarifying required fields, nested experience structure, traffic allocation, audience rules, or the confirm/idempotencyKey contract. This leaves most parameter semantics uncovered.

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 description states a specific verb and resource: 'Create a draft Experiment.' The word 'draft' implicitly distinguishes it from the sibling experiments_create_and_launch, though no sibling is named. The added phrase 'using current goal, source and targeting validation' is vague and does not sharpen the purpose further.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage direction is a global prerequisite to read agent.instructions.get. There is no guidance on when to use this draft-creation tool versus experiments_create_and_launch, experiments_create_and_launch, or experiments_update, and no stated exclusions or preconditions specific to this operation.

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