Skip to main content
Glama

UXON AI

experiments_update

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save explicitly requested Experiment fields while retaining unrelated targeting.

Input Schema

NameRequiredDescriptionDefault
idNo
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.
nicknameNo
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
experimentIdNo
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
selectedGoalsNoReplacement selected goals. Bounce cannot be combined with another goal.
variantSourceNo
controlPageUrlNo
controlVariantNo
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
campaignPriorityNo
redirectFrequencyNo
trafficAllocationNo
controlLandingPageNo
variantLandingPageNo
preserveRedirectParamsNoWhen 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.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the agent knows this mutates without being flagged destructive or repeatable. The description adds real value by disclosing that only explicitly requested fields are written and unrelated targeting survives, which tells the agent this is a partial merge rather than a replace. It says nothing, however, about how omitted sibling fields behave elsewhere, about the required confirm gate's consequences, or about what happens on conflicting concurrent edits.

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?

Only two sentences, but the first is a boilerplate pointer to agent.instructions.get that consumes half the description without describing this tool, pushing the one substantive clause about partial-update semantics to second position. The remaining text is dense and earns 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?

For a 34-parameter, nested-object mutation tool with only 38% schema coverage, a two-sentence description is thin. The output schema exists so return values need not be explained, but the description omits merge-vs-replace semantics for the experiences array, the meaning of the confirm gate, and any prerequisite or failure behavior an agent would need before committing a high-impact write.

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

Parameters2/5

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

Schema description coverage is 38% across 34 parameters with nested experiences and rules objects, so the schema leaves much undocumented. The description adds no parameter-level meaning beyond the vague "explicitly requested fields" and "targeting," saying nothing about the required confirm/siteId pair, the experimentId-vs-id anyOf, or whether the experiences array is merged or replaced.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it will "save explicitly requested Experiment fields," which implies a modify-existing-experiment operation, but never uses a clear verb like "update" and never names the experiment resource as the object of the action. With siblings such as experiments_set_status, experiments_optimization_update, and experiments_create in the catalog, an agent gets no signal distinguishing this tool from those.

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?

There is no when-to-use guidance and no mention of alternatives, so the agent must infer that this is the general-purpose field editor rather than the status or optimization updaters. The phrase "retaining unrelated targeting" hints at partial-update semantics but is scoped only to targeting, not offered as general calling guidance.

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