Skip to main content
Glama

Place order

place_order

Submit a confirmed KFC China order from a checkout preview using the phone, preview token, and expected total; amount mismatches are rejected and a real unpaid order may be created.

Instructions

Submit the previewed order to KFC China. Requires explicit user confirmation, phone, previewToken and expectedTotalCents. This may create a real unpaid order; payment and cross-session visibility are not verified. 提交可能产生真实未支付订单,必须由用户明确确认。

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": {
      "confirm": "<confirm>",
      "phone": "<phone>",
      "previewToken": "<previewToken>",
      "expectedTotalCents": "<expectedTotalCents>"
    },
    "name": "place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYes取餐联系电话,11 位中国大陆手机号
remarkNo备注,例如“不要辣”“少冰”
confirmYes必须显式传 true,表示用餐人已确认门店/餐品/金额
packTypeNodinein=堂食(默认),takeaway=外带dinein
previewTokenYespreview_order 返回的 previewToken
expectedTotalCentsYes必填:用户明确确认的总金额(分),与预览不一致时拒绝下单

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: the call may create a real unpaid order, and payment status and cross-session visibility are explicitly unverified — important for an openWorldHint=true mutation. It stops short of stating idempotency or duplicate-submission behavior for a repeated previewToken, which is the main remaining risk for an order-placement tool.

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-loads the action and the risk warning in three short sentences. The trailing Chinese sentence largely repeats the English warning, which is slight redundancy but also serves non-English readers.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the write risk and the unverified aspects well, but with no output schema the description never indicates what comes back (order ID, status, failure modes) nor how to proceed if the submission result is unclear. For a real-order mutation that is a meaningful gap.

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 field meaning (including the expectedTotalCents mismatch rejection) is already documented in structured form. The description only restates which parameters are required and the confirmation precondition, adding little semantic meaning beyond the schema.

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 ('Submit the previewed order to KFC China') and scopes it to a previously previewed order, which implicitly separates it from preview_order and the cart_* tools. An agent can tell immediately that this is the committing step rather than the drafting step.

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 preconditions: explicit user confirmation plus phone, previewToken and expectedTotalCents. It does not, however, name fallback siblings such as preview_order (to obtain a token) or resolve_uncertain_submission (when the submission outcome is ambiguous), so the agent must infer those routes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.