Skip to main content
Glama

webaz_order_draft

Buyer ORDER DRAFT (scope draft_order; OAuth grant). create: ONE quote_token → frozen snapshot (single-use), or items → one draft per checkout group (one fee/approval/payment). SNAPSHOT ONLY: no order/charge/stock; drift at approval hard-fails. 24h expiry. Zero PII. Next: webaz_submit_order_request; human approval creates the order.

Input Schema

NameRequiredDescriptionDefault
itemsNo[{product_id,variant_id?,quantity}] ≤10, instead of quote_token
actionYescreate (quote_token or items); cancel/get (draft_id); list
draft_idNocancel/get: the odr_ or ogd_ id
quote_tokenNocreate: the qtk_ token from webaz_quote_order (single-use)
idempotency_keyNocreate with quote_token (optional): [A-Za-z0-9_-]{1,64}; same key replays the draft
digital_deliveryNogame currency: buyer_fields
direct_receive_account_idNopayment_options account (seller has several)

Output Schema

NameRequiredDescriptionDefault
typeNo
countNo
errorNopresent ONLY on failure (with error_code + structured recovery fields)
priceNoproduct price: amount_minor / currency USDC / display (display line only; fx table gives display-only local conversions)
draftsNolist form: compact draft projections
statusNov2 status {code,label,label_en}; code canonical (never from label)
productNo
draft_idNo
quantityNopositive integer, or null when invalid (see quantity_valid); display-only (amount=price.amount_minor)
rail_noteNo
error_codeNo
expires_atNo
destinationNo
disclosuresNo
payment_railNo
fiat_estimateNodisplay-only ≈ local fiat (see quote schema)
quantity_errorNoinvalid-quantity code: missing|empty|zero|negative|not_integer|overflow|non_numeric
quantity_validNofalse only when quantity is invalid data (card shows 数量数据异常, buttons disabled)
schema_versionNo
available_actionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: single-use quote token, snapshot-only (no order/charge/stock), hard-fail on price drift at approval, 24h expiry, zero PII. This is exactly the behavioral context (irreversibility, failure modes, side effects) an agent needs for a mutating call.

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?

Front-loaded with scope and the create paths, then constraints, then the next step. Telegraphic but every clause carries new information; no filler.

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?

An output schema exists, so return values need not be explained. The description covers auth/scope, path selection, side-effect boundaries, expiry, and the handoff to approval — nothing material 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 already 100%, so the baseline is 3; the description adds value by explaining the semantics of the two create paths — 'one draft per checkout group (one fee/approval/payment)' — which the schema does not convey. Idempotency replay behavior is also reinforced.

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+resource ('Buyer ORDER DRAFT', create/cancel/get/list) and delimits it from siblings: it is a snapshot-only draft, not an order, and the next tool is named (webaz_submit_order_request). An agent can tell it apart from webaz_place_order and webaz_buy without opening any 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 concrete routing: use quote_token for ONE frozen snapshot, or items for one draft per checkout group, and 'Next: webaz_submit_order_request; human approval creates the order.' It doesn't explicitly state when NOT to use it (e.g. when to jump straight to place_order), but the lifecycle context makes the position 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