Skip to main content
Glama

VTorge Online Print Shop

Prepare checkout link

prepare_checkout

Alternative to create_order when the buyer prefers to finish on the website (e.g. to upload the print file there). Items as in create_order; name, phone, email and comment are optional. Returns checkout_url: the items are already in the cart and the contacts are filled in; the buyer chooses delivery, uploads the print file and submits the order.

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": "prepare_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name ("Москва", "Kazan", "Almaty") or slug from find_city. Default: Moscow.
itemsYesOrder items (offset products only), each exactly as listed by get_price_table for the same city.
commentNoOptional comment to the order (up to 1000 characters).
customer_nameNoOptional buyer name for the order form.
customer_emailNoOptional buyer email; order status and payment receipt are sent there.
customer_phoneNoOptional buyer phone, e.g. +7 999 123-45-67.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, and the description adds genuinely useful context beyond them: the call only stages a cart and pre-fills contacts, while delivery choice, file upload and submission stay with the buyer. It does not disclose whether repeated calls create separate carts or whether the link expires, which matters for a non-idempotent, non-read-only tool.

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?

Two sentences, densely packed and front-loaded: the alternative is stated before the mechanics, and the return-value behavior follows. No filler.

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?

With no output schema, the description does the right thing by explaining what checkout_url represents and what state the buyer receives. It is largely complete for a six-parameter tool, though link lifetime and cart behavior on repeat calls are unaddressed.

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 100%, so the baseline is 3. The description adds only a light clarification — items follow the same format as create_order and name, phone, email and comment are optional — without explaining the city default or the layout/approval fields.

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?

The description names a specific action (preparing a checkout link instead of placing an order), states what it produces (checkout_url with items in cart and contacts filled) and explicitly distinguishes it from the sibling create_order. An agent can tell exactly which tool to reach for 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 Guidelines4/5

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

It names the alternative (create_order) and the condition that selects this one: the buyer prefers to finish on the website, e.g. to upload the print file there. There is no explicit when-not case beyond the create_order comparison, but the routing decision is clear.

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