Skip to main content
Glama

star365 HQ

commerce_checkout

commerce_checkout
Idempotent

Create an order (HIGH RISK, action=commerce.order). This tool creates a real order. Do not call it without explicit confirmation from the user. With user_confirmed=false it goes to an approval queue instead. quote_id and quote_hash from commerce_build_cart are required; the server recomputes them and rejects a mismatch. On timeout do NOT retry — query commerce_order_status with the same idempotency_key to avoid a duplicate order. / 실제 주문을 생성합니다. 타임아웃 시 재호출 금지 — 같은 idempotency_key 로 상태를 조회하십시오.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idNoCalling agent id, for the audit trail. / 호출 에이전트 식별자(감사 추적용)
quote_idYesQuote id returned by commerce_build_cart. / commerce_build_cart 가 반환한 견적 ID
quote_hashYesQuote hash returned by commerce_build_cart (tamper guard). Pass it through unchanged. / 견적 해시. 그대로 전달
payment_modeNoPayment method (optional). / 결제 방식(선택)
shipping_memoNoDelivery note (optional). / 배송 메모(선택)
user_confirmedYesHas the user explicitly confirmed this purchase? Do not send true without that confirmation. false routes it to human approval. / 사용자가 명시적으로 확인했는가. 확인 없이 true 금지
idempotency_keyNoIdempotency key acp_<ULID>. Re-sending the same key replays the first result instead of running again. / 멱등키. 재요청은 최초 결과를 재생
shipping_addressNoShipping address (optional). / 배송지(선택)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the approval-queue fallback, that the server recomputes quote_id/quote_hash and rejects mismatches, and the no-retry/dedup rule on timeout. These are behavioral traits an agent could not infer from readOnlyHint/idempotentHint alone.

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?

Every sentence is load-bearing and the highest-severity warning (HIGH RISK, confirmation) is front-loaded. The Korean mirror text roughly doubles the length, which is a convention but costs some density.

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

Completeness5/5

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

For a high-risk mutation with no output schema, the description covers confirmation gating, the approval-queue branch, tamper rejection, and duplicate-order avoidance on timeout. Nothing an agent needs to invoke it safely is missing.

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 schema baseline is 3, but the description adds real meaning: quote_hash is a tamper guard the server recomputes, user_confirmed gates the write vs. approval queue, and idempotency_key replays the first result. This enriches the semantics of the most consequential parameters beyond the schema text.

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 ('Create an order') and immediately characterizes the risk class ('HIGH RISK, action=commerce.order'). It implicitly but clearly separates itself from commerce_build_cart (source of the quote) and commerce_order_status (post-timeout polling).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly says when not to call it ('Do not call it without explicit confirmation from the user'), what happens with user_confirmed=false (approval queue), and names the alternative action on timeout (query commerce_order_status with the same idempotency_key). Prerequisites (quote_id/quote_hash from commerce_build_cart) are also stated.

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