Skip to main content
Glama

Create a gifting checkout

create_gifting_checkout
Destructive

Create a paid checkout to gift a product to live chat. Select an offer, quantity, and currency to start the gifting purchase.

Instructions

Creates a paid checkout for gifting a product to live chat

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private shop profile label; not a provider identity or authorization proof.
confirmNoExplicit approval for this exact provider effect or local private-file operation.
offerIdNoThe product offer to gift to live chat.
payloadNoComplete current native JSON body; cannot mix with native body flags or payload_file.
currencyNoDisplay currency for the checkout. Defaults to the shop's currency.
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. First observedv2.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false, and readOnlyHint=false, so the mutation/irreversibility profile is covered structurally. The description adds one genuinely useful piece of context beyond that – the checkout is 'paid', i.e. it involves a monetary charge – but says nothing about when the charge occurs, required permissions, or the confirm flag's role.

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?

A single front-loaded sentence with no filler or redundancy. It is appropriately sized for what it says, though the terseness is a symptom of missing content rather than efficient compression.

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 7-parameter tool with a nested payload object, zero required parameters, no output schema, and a monetary effect, one sentence is not enough. It omits what the tool returns (e.g. a checkout URL or ID), how the payload relates to the top-level offerId/quantity/currency duplicates, and what 'confirm' and 'account' gate.

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 100%, so every parameter, including the nested payload fields, offerId, quantity, currency, account, confirm, and payload_file, is already documented in the schema. The description adds no parameter-level meaning, so the baseline 3 applies.

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 a specific verb and resource ('Creates a paid checkout') plus the scope ('for gifting a product to live chat'), which is clear enough to distinguish it from unrelated siblings like create_webhook. It does not, however, contrast itself with the nearby create_giveaway_checkout or get_gifting_config, so differentiation from the closest alternatives is left to inference.

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?

There is no statement of when to use this tool versus create_giveaway_checkout, create_fulfillment, or the gifting config tools, and no prerequisites or exclusions are given. The only usage signal is the phrase 'to live chat', which is context, not guidance.

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