Skip to main content
Glama

UXON AI

checkouts_update

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save supported fields on an exact Checkout variant with expectedDraftVersion. Arrays replace their collection. Saves never publish or send. Saved Discount selection is builderDocument.pricing.orderDiscounts; retain its current keys and all unrelated fields.

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>",
      "patch": "<patch>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "checkouts_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
variantIdYes
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.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: arrays replace their entire collection rather than merging, saves never publish or send, and callers must retain unrelated builderDocument keys. It omits what happens on an expectedDraftVersion mismatch, which is the main open behavioral question for a versioned save.

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?

Five compact sentences, front-loaded with the prerequisite and then the core action. The preamble about agent.instructions.get consumes prime space before the tool's actual purpose, but each remaining sentence carries real operational content and nothing is padded.

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?

This is a deeply nested mutation tool with 7 parameters and an output schema, and the description covers the highest-risk semantics (array replacement, non-publishing, key retention, version guard). It still leaves unclear whether patch is a partial merge or a full replace, and which fields are actually 'supported', which matters given the enormous nested patch object.

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 description coverage is only 29%, so the description must compensate, and it does partially: it explains expectedDraftVersion as a precise-concurrency guard, states array-replacement semantics (critical for patch.bumps and patch.items), and points discount selection at builderDocument.pricing.orderDiscounts. It still adds nothing about siteId, checkoutId, variantId, teamId, or idempotencyKey, leaving the low-coverage schema to speak for itself.

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 names a specific verb and resource: 'Save supported fields on an exact Checkout variant with expectedDraftVersion.' That is precise enough to distinguish it from read tools like checkouts_get or publish tools. It does not, however, contrast itself with the near-sibling checkouts_variants_update, which an agent could easily confuse with it.

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?

It gives a prerequisite ('read agent.instructions.get and follow its instructions') and a boundary condition ('Saves never publish or send'), which implies checkouts_publish is the tool for going live. It never names that alternative or states when to prefer checkouts_variants_update, so the routing guidance is implied rather than explicit.

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