Skip to main content
Glama

Birinchi Shop — Uzbekistan store

Place a REAL order (cash on delivery)

place_order

Places a real cash-on-delivery order for the shopper. A call-center operator phones the given number to confirm, then a courier delivers and collects payment. The order is accepted only with customer_confirmed=true, meaning the shopper explicitly confirmed the product, variant, total and phone number. Example (sample values): {"product_id": 1234, "variant_id": 56, "customer_name": "Ali Valiyev", "customer_phone": "+998900000000", "region": "Toshkent", "customer_confirmed": true, "agent": "Claude"}.

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": {
      "product_id": "<product_id>",
      "customer_name": "<customer_name>",
      "customer_phone": "<customer_phone>",
      "region": "<region>",
      "customer_confirmed": "<customer_confirmed>"
    },
    "name": "place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoName of the assistant placing the order, e.g. "ChatGPT".
regionYesRegion (viloyat) or city in Uzbekistan.
product_idYesProduct id from search_products or get_product.
variant_idNoRequired if the product has variants; variant ids are listed in the product details.
customer_nameYesShopper's name for the courier, as they gave it.
customer_phoneYesUzbekistan mobile number, +998XXXXXXXXX.
variant_type_idNoRequired if the chosen variant has types.
customer_confirmedYesMust be true: the shopper explicitly confirmed this order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / agent / examples
      Added value: +[
      +  "Claude",
      +  "ChatGPT"
      +]
    • addedInput schema / properties / customer_confirmed / examples
      Added value: +[
      +  true
      +]
    • addedInput schema / properties / customer_name / examples
      Added value: +[
      +  "Ali Valiyev"
      +]
    • addedInput schema / properties / customer_phone / examples
      Added value: +[
      +  "+998900000000"
      +]
    • addedInput schema / properties / product_id / examples
      Added value: +[
      +  1234
      +]
    • addedInput schema / properties / region / examples
      Added value: +[
      +  "Toshkent",
      +  "Samarqand viloyati"
      +]
    • addedInput schema / properties / variant_id / examples
      Added value: +[
      +  56
      +]
    • addedInput schema / properties / variant_type_id / examples
      Added value: +[
      +  78
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / customer_name / description
      Added value: +"Shopper's name for the courier, as they gave it."
    • addedInput schema / properties / product_id / description
      Added value: +"Product id from search_products or get_product."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag openWorldHint=true and idempotentHint=false, but the description adds real value beyond them by disclosing the human follow-up (operator confirmation call) and physical fulfillment with cash collection, plus the server-side rejection rule for unconfirmed orders. It does not warn about duplicate submissions or explain failure/rejection responses, which keeps it below a 5.

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?

Three sentences, front-loaded with the action and the confirmation precondition, followed by a compact example. The example earns its place by showing the full required set, though it consumes roughly a third of the text for information largely duplicated in the schema examples.

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 an 8-parameter, non-idempotent, real-world mutation with no output schema, the definition covers the workflow, the precondition and the fulfillment consequences. The notable gap is the return value (e.g., an order id to pass to get_order_status) and what happens if the confirmation call fails.

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, but the description adds meaning the schema cannot: customer_confirmed is not merely a boolean flag but a semantic guarantee that the shopper verbally confirmed product, variant, total and phone. The inline sample payload also shows a coherent parameter combination, aiding correct invocation.

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 ('Places a real cash-on-delivery order for the shopper') and then describes the actual mechanism: a call-center operator phones the number, then a courier delivers and collects payment. That level of specificity makes it unmistakable against read-only siblings like get_order_status or get_product.

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 hard usage gate: the order is accepted only with customer_confirmed=true, and spells out exactly what the shopper must have confirmed (product, variant, total, phone number). It also points to where product_id comes from (search_products/get_product via the schema). It does not explicitly state when NOT to call it or what to do instead, so it stops short of a 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.

Resources