Skip to main content
Glama

UXON AI

checkouts_variants_archive

DestructiveIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Archive the exact Checkout variant after confirmation. Active tests can block it. Archiving Main chooses the app's replacement; archiving the LAST variant UNPUBLISHES the Checkout. Retains existing Orders/payments. Uses the app's current archive rules, not a revision-checked draft save.

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

Input Schema

NameRequiredDescriptionDefault
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.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive, idempotent and non-read-only, so the description's job is the extra context, which it supplies: active tests can block the call, Main variant archiving selects a replacement, the last variant unpublishes the Checkout, Orders/payments are retained, and app-level archive rules apply instead of revision-checked draft semantics. It stops short of stating what happens to previews/links or whether the action is reversible.

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?

Content sentences are dense and front-load consequences with no filler, but the opening sentence is an instruction-hierarchy pointer (read agent.instructions.get) rather than tool purpose, which delays the actual purpose statement. Otherwise the sentences each earn their place.

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

Completeness5/5

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

For a destructive 6-parameter mutation with an output schema, the description covers the risky outcomes (blocked by tests, unpublished checkout, replacement selection, retained orders) that an agent must weigh before invoking. Return values need not be explained because an output schema exists.

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 67% and the schema already documents variantId scoping (must come from this checkoutId), confirm, and idempotencyKey. The description adds only the notion of the "exact" variant and confirmation; it adds nothing for siteId, checkoutId or teamId beyond what is obvious. Baseline 3 fits given the schema does most of the work.

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

Purpose5/5

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

"Archive the exact Checkout variant after confirmation" names a specific verb (archive) and resource (Checkout variant), and the following sentences distinguish the effect from adjacent operations (archiving the last variant unpublishes; Main triggers a replacement choice). An agent can tell this apart from checkouts_unpublish or checkouts_delete without opening another schema.

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 preconditions (user confirmation, active tests can block it) and implies when consequences differ. It does not explicitly name the alternatives to use instead when the intent is to hide/delete a checkout rather than archive a variant, so the routing guidance is good but not exhaustive.

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