Skip to main content
Glama

Prepare an order

create_checkout

Prepare a whole order for the person: items, contact, address and delivery. Returns the priced order (items, delivery, total in CZK with VAT), what is still missing, and continue_url, which opens the kaviardum.cz checkout with everything filled in; they check it, accept the terms and pay there (card, Apple Pay, Google Pay or bank transfer). Nothing is ordered or charged before the person confirms. Fields you leave out the person fills in on the page. The link is valid 24 hours. The delivery method and window are the codes delivery_options lists.

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": {
      "items": "<items>"
    },
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of names and descriptions: cs (Czech), en, ru, uk, vi.cs
noteNoA note for the shop from the person.
buyerNoThe person the order is for, as they told you. Leave out what you do not know.
itemsYes
addressNoDelivery address in the Czech Republic (not needed for pickup).
paymentNoOptional preselection; the person can change it. comgate = card, Apple Pay, Google Pay. cash only on pickup.
deliveryNoA method code from delivery_options; for the Prague courier also a window key from its windows; for pickup the pickup point name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare a non-destructive, non-read-only, non-idempotent call; the description goes further by stating nothing is ordered or charged before confirmation, that the continue_url link expires in 24 hours, and what the response contains (pricing with VAT, missing fields). It also discloses that payment selection is only a preselection the buyer can change.

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 purpose and return values, then constraints, and nearly every sentence carries information. The long semicolon-chained sentence describing continue_url and payment methods is denser than necessary and slows parsing.

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 7-parameter nested tool with no output schema, the description covers the return shape, link lifetime, and non-commitment behavior thoroughly. It stops short of stating failure modes such as unavailable products, price changes, or what "still missing" implies for a retry, leaving a small gap.

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 already 86%, so the baseline is 3, but the description adds real meaning: omitted fields are completed by the person rather than being errors, and delivery.method/window must be codes drawn from delivery_options. It does not add anything on the lang or note parameters, and payment semantics are largely carried by the schema.

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?

"Prepare a whole order for the person: items, contact, address and delivery" names a concrete verb and the exact resource scope, and the return description (priced order, missing fields, continue_url) makes the checkout-session nature unmistakable. It never explicitly contrasts itself with get_checkout or update_checkout, so sibling differentiation is left implicit.

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?

It conveys the operating context well: the person reviews, accepts terms and pays on the linked page, and fields omitted are filled in by the person there, which tells the agent it may call with partial data. It also routes to delivery_options for valid method/window codes, but gives no explicit when-not guidance or mention of the update/get siblings for modifying an existing checkout.

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