Skip to main content
Glama

Create a checkout link for a setup order

checkout_setup_order
Destructive

Create a Stripe Checkout URL for a quoted setup order (status quoted only - an order still awaiting volai's confirmation returns quote_pending_confirmation, and a second call while a session is still open returns checkout_open instead of a new link). A human must open the returned checkoutUrl and pay themselves - nothing is charged from here. The charge covers the order's one-time setup fee plus a first credit top-up of creditCzk added to the balance on top of it; the order's quote (from create_setup_order or get_setup_order) has the exact setup price. Requires a complete billing address on the account (billing_address_required otherwise - a tax document cannot be issued without one). Same data as POST /v1/setup-orders/{id}/checkout (response schema in /openapi.json).

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": {
      "orderId": "<orderId>",
      "creditCzk": "<creditCzk>"
    },
    "name": "checkout_setup_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYesId of the quoted setup order, from list_setup_orders.
creditCzkYesFirst credit top-up bundled into the same payment, in whole Czech crowns (CZK): one of 200, 500, 1000, 2000. An unsupported creditCzk amount is rejected with invalid_amount.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=false is not stated but non-idempotence is implicit in 'a second call while a session is still open returns checkout_open'). It discloses that nothing is charged from here, that a human must open the URL and pay, what the charge covers (setup fee plus creditCzk top-up), and the billing_address_required condition — genuine behavioral context an agent cannot get from structured fields.

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-loaded with the action and its scope, then error conditions, then payment semantics. The nested parentheticals listing error codes are dense but each clause carries actionable information; only minor tightening is possible.

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?

With no output schema, the description still names the returned checkoutUrl and the meaning of a successful call. Combined with preconditions, error codes, and payment composition, nothing an agent needs to invoke this mutation correctly 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 100%, so the baseline is 3; the description still adds meaning by explaining that creditCzk is a bundled first credit top-up added on top of the setup fee in the same payment, and that the exact setup price comes from the order's quote rather than the parameters.

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?

States a specific verb and resource ('Create a Stripe Checkout URL for a quoted setup order') and scopes it to a quoted order, which distinguishes it from the sibling link-creation tools such as create_topup_link, create_subscription_link, and create_subscription_payment_link.

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 a clear precondition (status must be 'quoted') and names the failure modes that route the agent elsewhere (quote_pending_confirmation, checkout_open). It also points to create_setup_order/get_setup_order for the quote price. It does not explicitly say when a standalone top-up should use create_topup_link instead, so it falls short of a full 5.

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.