Skip to main content
Glama

VTorge Online Print Shop

Create an order

create_order

Place an order for offset products: items from get_price_table, delivery from get_delivery_options, buyer name, phone and email. Prices and delivery are calculated by the server. dry_run=true returns the total with delivery and dates without creating anything. Returns the order number and payment_url (order page with payment). The shop checks the order and the print file and then launches production. The print file: layout_token from upload_layout and layout_approved (whether the checked preview from check_layout was approved) in the item; without a layout the file can be sent later.

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>",
      "delivery": "<delivery>"
    },
    "name": "create_order"
  }
}

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).
dry_runNotrue — only calculate the total with delivery, nothing is created.
deliveryYesOne option from get_delivery_options.
layout_urlNoOptional link to the print file (PDF, TIFF, JPG, CDR, EPS).
customer_nameNoBuyer name.
customer_emailNoBuyer email: the order and payment receipt are sent there.
customer_phoneNoBuyer phone, e.g. +7 999 123-45-67.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say this is a non-readonly, non-destructive, non-idempotent write. The description adds genuinely new behavior: prices and delivery are computed server-side, dry_run creates nothing and returns totals/dates, the response contains the order number and payment_url, the shop reviews the order and print file before production, and a print file can be supplied later. That is meaningful side-effect and lifecycle disclosure beyond the annotations.

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?

The main action and its data sources are front-loaded, and the dry_run and return-value sentences are placed before workflow detail. The final sentence about the print file is dense and slightly compressed, but every sentence carries actionable content.

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 complex tool with nested item/delivery objects and no output schema, the description covers the purchase workflow, server-side price calculation, dry-run behavior, and the returned order number and payment_url. The remaining gap is that delivery variant semantics are left entirely to the schema, but overall it is sufficient to call correctly.

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 most parameter meaning is already documented, including the layout_token, layout_approved, dry_run and delivery fields. The description reinforces the sourcing of items/delivery but adds little syntax or format detail the schema does not already carry, so baseline 3 applies.

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 concrete verb and resource ('Place an order for offset products') and immediately scopes it to offset products only, with inputs traced to get_price_table and get_delivery_options. An agent can distinguish this creation tool from check_layout or get_price_table without opening a 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?

Gives clear context: items must come from get_price_table for the same city, delivery from get_delivery_options, and layout_token/layout_approved from upload_layout/check_layout. It also explains the dry_run=true path for previewing totals without creating anything. It stops short of explicit when-not-to-use exclusions, so it is strong but not maximal.

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