Skip to main content
Glama

Create a gifting checkout

create_gifting_checkout
Destructive

Create a paid checkout to gift a product to live chat, specifying the offer, quantity, and optional display currency.

Instructions

Creates a paid checkout for gifting a product to live chat

Input Schema

NameRequiredDescriptionDefault
accountNoExact private shop profile label; not a provider identity or authorization proof.
confirmNoSet true only when the user asked for exactly this action.
offerIdNoThe product offer to gift to live chat.
payloadNoComplete current native JSON body; cannot mix with native body flags or payload_file.
currencyNo
quantityNoHow many gifts to purchase.
payload_fileNoAbsolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv3.0.0
    • addedInput schema / $defs
      Added value: +{
      +  "currency": {
      +    "description": "Display currency for the checkout. Defaults to the shop's currency.",
      +    "enum": [
      +      "USD",
      +      "EUR",
      +      "CAD",
      +      "GBP",
      +      "AUD",
      +      "NZD",
      +      "SEK",
      +      "NOK",
      +      "DKK",
      +      "PLN",
      +      "INR",
      +      "JPY",
      +      "MYR",
      +      "SGD",
      +      "MXN",
      +      "BRL",
      +      "CHF"
      +    ],
      +    "type": "string"
      +  }
      +}
    • changedInput schema / properties / confirm / description
      Previous value: -"Explicit approval for this exact provider effect or local private-file operation."New value: +"Set true only when the user asked for exactly this action."
    • addedInput schema / properties / currency / $ref
      Added value: +"#/$defs/currency"
    • removedInput schema / properties / currency / description
      Removed value: -"Display currency for the checkout. Defaults to the shop's currency."
    • removedInput schema / properties / currency / enum
      Removed value: -[
      -  "USD",
      -  "EUR",
      -  "CAD",
      -  "GBP",
      -  "AUD",
      -  "NZD",
      -  "SEK",
      -  "NOK",
      -  "DKK",
      -  "PLN",
      -  "INR",
      -  "JPY",
      -  "MYR",
      -  "SGD",
      -  "MXN",
      -  "BRL",
      -  "CHF"
      -]
    • removedInput schema / properties / currency / type
      Removed value: -"string"
    • addedInput schema / properties / payload / properties / currency / $ref
      Added value: +"#/$defs/currency"
    • removedInput schema / properties / payload / properties / currency / description
      Removed value: -"Display currency for the checkout. Defaults to the shop's currency."
    • removedInput schema / properties / payload / properties / currency / enum
      Removed value: -[
      -  "USD",
      -  "EUR",
      -  "CAD",
      -  "GBP",
      -  "AUD",
      -  "NZD",
      -  "SEK",
      -  "NOK",
      -  "DKK",
      -  "PLN",
      -  "INR",
      -  "JPY",
      -  "MYR",
      -  "SGD",
      -  "MXN",
      -  "BRL",
      -  "CHF"
      -]
    • removedInput schema / properties / payload / properties / currency / type
      Removed value: -"string"
  2. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, openWorldHint=true, idempotentHint=false, readOnlyHint=false, so safety profile is covered. However, the description does not disclose that this is a paid, irreversible, open-world operation, that confirmation is required, or any rate limits/authentication needs. 'Paid checkout' hints at payment, but the destructive and non-idempotent nature is left entirely to annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One concise sentence that front-loads the verb and scope. No wasted words.

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 destructive, open-world, non-idempotent payment operation with 7 parameters and nested payload, the description is far too thin. It lacks any behavioral warnings, usage context, or distinction from the nearly identical giveaway checkout siblings. Critical information an agent needs is absent.

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 86%, so the schema already documents most parameters (offerId, quantity, currency, account, confirm, payload, payload_file). The description adds nothing about parameter meaning. With high schema coverage, baseline 3 is appropriate.

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?

Clear verb+resource: 'Creates a paid checkout for gifting a product to live chat.' Distinguishes from sibling 'create_giveaway_checkout' by specifying 'gifting' and 'live chat', though it doesn't explicitly name the alternative. An agent can tell what it does without opening the schema.

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?

No guidance on when to use this vs. create_giveaway_checkout, disable_giveaway_checkout, or other checkout tools. The description does not state prerequisites or exclusions. The only usage hint comes from the schema's 'confirm' parameter, not the description itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools