Skip to main content
Glama

UXON AI

checkouts_variants_update

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Rename the selected Checkout variant or make it Main using its current expectedDraftVersion. Main changes affect visitor selection and require confirmation; draft content is not published.

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>",
      "checkoutId": "<checkoutId>",
      "variantId": "<variantId>",
      "expectedDraftVersion": "<expectedDraftVersion>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "checkouts_variants_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
isMainNo
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.
variantIdYesUse a variant ID returned by this exact checkoutId. A copied Checkout has different variant IDs from its source; read its current variants instead of reusing an ID.
checkoutIdYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
expectedDraftVersionYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the write, non-destructive, idempotent profile, so the bar is lower, and the description still adds real substance: Main changes alter visitor selection, confirmation is required, and draft edits are not published. It does not explain what happens on a stale expectedDraftVersion or how idempotencyKey behaves on retry, which are the remaining behavioral gaps.

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 tool purpose is not front-loaded; the first sentence is a generic 'read agent.instructions.get' prelude that consumes roughly a third of the text without describing this tool. The two sentences that follow are tight and waste-free, so the content is good but the ordering costs it.

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

Completeness4/5

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

An output schema exists, so return values need no explanation, and annotations cover the safety profile. For a mutation with a version precondition and a confirmation gate, the description surfaces the two hazards an agent most needs (Main affects visitors; drafts stay unpublished), leaving only retry/conflict semantics uncovered.

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 only 44% across 9 parameters, so the description needs to compensate more than it does. It adds meaning for expectedDraftVersion ('current') and ties confirm to Main changes, and implies name/isMain, but leaves idempotencyKey, teamId, and siteId/checkoutId scoping unexplained beyond what the schema already shows.

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 specific verbs and resource: 'Rename the selected Checkout variant or make it Main'. This clearly separates it from checkouts_variants_create/archive/list, which operate on the variant set rather than an existing variant's name or Main flag. It stops short of naming a sibling to route away from, so it is clear but not maximally differentiated.

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?

Gives clear conditions: rename or promote to Main, using the current expectedDraftVersion, and requires user confirmation for Main. It implies this is a draft-level edit ('draft content is not published') rather than a publish action, but never names an alternative such as checkouts_publish or checkouts_variants_create for the cases this tool does not cover.

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