Skip to main content
Glama

Change a checkout

update_checkout
Destructive

Change any part of one of the seller's checkouts, draft or live: name, description, price, currency, billing, delivery, the cart's wording, the guarantee, the button, the thank-you page, the language, early-bird pricing, a campaign (seats, opening and closing times), payment plans, booking (the times buyers can book a call at), intake questions (asked before paying) and the theme. Only the fields you pass change; the same rules as the dashboard editor apply. Call get_product first to see what's there now. It never publishes or unpublishes. On a draft this applies straight away. On a LIVE checkout it applies straight away too (status applied; the seller can roll it back on their Approvals page), unless it touches money: a price, currency, billing, the delivery link, payment plans, an early-bird price or campaign, or a retention discount or pause. Those create an approval request instead (status pending_approval): tell the seller, give them the approvalUrl, and check later with approval_status. To change other things straight away, don't send money fields in the same call. Never invent a price or a link. Tell the seller exactly what changed, using the changes list this returns.

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": {
      "product": "<product>"
    },
    "name": "update_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
perksNoThe "what you get" lines. Replaces the list.
priceNoMajor units (97 = $97.00). For a subscription, per interval. 0 makes a one-time checkout free; paid bumps and upsells still charge.
themeNo
intakeNoQuestions buyers answer in the checkout before they pay, like a booking form: up to 5, in order. Use it when the seller wants to know something before a call or a done-for-you job (their website, their goals). Types: short (one line, up to 300 characters), long (a paragraph, up to 2000), url (a web address; "linkedin.com/in/x" is accepted and saved with https://), checkboxes (pick any of the options) and choice (pick one). required: true stops the buyer paying until it's answered. On update_checkout this replaces every question; pass the ids from get_product to keep a question's answers lined up, and null or [] removes them all. It doesn't touch money, so it applies straight away even on a live checkout. Answers show in the seller's dashboard, sale alert and list_orders.
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
bookingNoSell a call with its time: buyers pick a slot in the checkout and pay for it. One-time prices and payment plans, Stripe or PayPal only (not Lemon Squeezy). A subscription can only sell a coaching package (see package). timezone is required: ask the seller for theirs (an IANA name like Europe/London); their hours are in it. hours maps a weekday (mon to sun) to ranges of ["09:00", "17:00"]; leave a day out for closed. Anything else you leave out gets a default (60-minute calls every 30 minutes, no buffer, 12 hours' notice, 30 days ahead, weekdays 9 to 5). On update_checkout this replaces the rules, and null turns booking off. It doesn't touch money, so it applies straight away even on a live checkout. Only offered to sellers who have calendar booking.
eyebrowNoThe small label above the name, e.g. "You're getting".
productYesThe checkout's id or slug.
campaignNoA cohort or launch: buyers see seats left and a countdown, and the checkout closes on its own when it sells out or the closing time passes. Replaces any campaign already set; null turns it off. seats: how many can buy (omit for no limit). opensAt / closesAt: ISO 8601 with a time zone, e.g. 2026-11-02T09:00:00-05:00; ask the seller for theirs. closedUrl: https link a closed checkout sends people to, such as a waitlist. countdownBanner: show a bar across the top of the checkout counting down to closesAt (needed), with this text before the time left, e.g. "Black Friday: 40% off ends in"; "" uses the default "This offer ends in"; omit for no banner. Every buyer sees the same real deadline. endedTitle / endedMessage: what the checkout says once it has closed, e.g. "Black Friday is over"; omit for the default.
ctaLabelNoBuy button text; the price is added automatically.
currencyNoThree-letter code. Can't change on a live checkout or one with sales.
languageNoLanguage of everything Swipefast shows the buyer: the checkout, upsell, thank-you page, emails and course Hub. en English, es Spanish, fr French, de German.
earlyBirdNoEarly-bird price for the first N sales, then the regular price. null turns it off. One-time prices only.
deliveryUrlNohttps:// link buyers get after paying.
descriptionNoSales copy beside the cart. Blank lines make paragraphs; lines starting "- " make bullets.
pricingTypeNo
reassuranceNoShort lines under the buy button. Replaces the list.
urgencyLineNoe.g. "Only 10 spots". Empty removes it.
deliveryNoteNoWhat buyers are told on the thank-you page, under the heading.
paymentPlansNoWays to pay in instalments, offered beside paying in full. One-time prices only, and card payments (Stripe) only. The first payment is taken at checkout, the rest every week or every month from that day. Ask the seller for the number of payments, the amount of each and how often; never invent them. On update_checkout this replaces the list, and [] removes every plan.
guaranteeBodyNo
thanksHeadingNoThank-you page heading. Empty uses the default.
thanksMessageNoThank-you page message. Empty uses the default.
guaranteeTitleNo
manualDeliveryNoTrue when the seller delivers it themselves instead of a link.
billingIntervalNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that draft edits apply immediately, that live money-related edits return status pending_approval with an approvalUrl, that the seller can roll back on their Approvals page, and that non-money edits apply instantly even on a live checkout. It also states the partial-update contract ('Only the fields you pass change'), which meaningfully softens the destructiveHint for an agent deciding whether to call it.

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?

Front-loads scope, then the apply/approve rule, then the follow-up actions — a sensible order. It is a dense single paragraph with a long field enumeration that partly duplicates the schema, but the flow-control sentences justify the length.

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?

For a 27-parameter mutation with no output schema, it covers the critical gaps: approval semantics, replacement semantics for lists, and that a `changes` list is returned for reporting to the seller. Minor gap: it doesn't mention rate limits or failure modes, but nothing an agent needs to call it is missing.

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

Parameters4/5

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

Schema coverage is 78%, so the baseline is 3, and the description adds real operational meaning on top: money fields are enumerated as the approval trigger, and nesting rules (don't mix money and non-money fields in one call) aren't derivable from the schema. It does not re-explain most individual fields, which is appropriate given the rich schema.

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?

Opens with a specific verb and resource ('Change any part of one of the seller's checkouts, draft or live') and enumerates the editable surface. It explicitly disclaims what siblings do ('It never publishes or unpublishes'), separating it from publish_checkout and setup_checkout.

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

Usage Guidelines5/5

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

Gives an explicit prerequisite ('Call get_product first'), a decision rule for the approval path, and a workaround ('To change other things straight away, don't send money fields in the same call'). It also names the follow-up tool (approval_status) and forbids inventing prices or links.

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.