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.

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": {
      "action": "<action>"
    },
    "name": "webaz_order_draft"
  }
}

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, per the quote's buyer_fields + listing_combo. Fixed: listing fields at top level; unit price: listings[]
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. Changed7 schema fields changed
    • addedInput schema / properties / digital_delivery / properties / listing_stage
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / digital_delivery / properties / listing_valid_until
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / digital_delivery / properties / listings / items / properties / listing_stage
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / digital_delivery / properties / listings / items / properties / listing_valid_until
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / digital_delivery / properties / listings / items / properties / time_left_display
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / digital_delivery / properties / listings / items / required
      Previous value: -[
      -  "listed_item_name",
      -  "listed_at"
      -]New value: +[
      +  "listed_item_name"
      +]
    • addedInput schema / properties / digital_delivery / properties / time_left_display
      Added value: +{
      +  "type": "string"
      +}
  2. Changed15 schema fields changed
    • changedInput schema / properties / digital_delivery / description
      Previous value: -"Game currency (no address), per the quote's buyer_fields. Fixed amount: listing fields at top level; unit price: listings[] per listing_plan row"New value: +"Game currency, per the quote's buyer_fields + listing_combo. Fixed: listing fields at top level; unit price: listings[]"
    • removedInput schema / properties / digital_delivery / properties / ban_risk_acknowledged / description
      Removed value: -"no effect; owner confirms on webaz.xyz"
    • removedInput schema / properties / digital_delivery / properties / character_name
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / digital_delivery / properties / listed_at
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / digital_delivery / properties / listed_quantity
      Added value: +{
      +  "type": "integer"
      +}
    • removedInput schema / properties / digital_delivery / properties / listing_valid_until / description
      Removed value: -"ISO 8601 with offset, after the delivery window"
    • removedInput schema / properties / digital_delivery / properties / listings / description
      Removed value: -"Unit price only"
    • removedInput schema / properties / digital_delivery / properties / listings / items / properties / listed_at / description
      Removed value: -"ISO 8601, optional"
    • removedInput schema / properties / digital_delivery / properties / listings / items / properties / listed_quantity / description
      Removed value: -"stack shown, default 1"
    • removedInput schema / properties / digital_delivery / properties / listings / items / properties / listed_quantity / maximum
      Removed value: -9999
    • removedInput schema / properties / digital_delivery / properties / listings / items / properties / listed_quantity / minimum
      Removed value: -1
    • removedInput schema / properties / digital_delivery / properties / listings / items / properties / listing_price / description
      Removed value: -"TOTAL listing price"
    • removedInput schema / properties / digital_delivery / properties / listings / items / properties / listing_valid_until / description
      Removed value: -"ISO 8601 with offset, after the delivery window"
    • changedInput schema / properties / digital_delivery / properties / listings / items / required
      Previous value: -[
      -  "listed_item_name",
      -  "enhancement_level",
      -  "listing_price",
      -  "listing_valid_until"
      -]New value: +[
      +  "listed_item_name",
      +  "listed_at"
      +]
    • changedInput schema / properties / digital_delivery / required
      Previous value: -[
      -  "server",
      -  "character_name"
      -]New value: +[
      +  "server"
      +]
  3. Changed4 schema fields changed
    • addedInput schema / properties / digital_delivery / additionalProperties
      Added value: +false
    • changedInput schema / properties / digital_delivery / description
      Previous value: -"game currency: buyer_fields"New value: +"Game currency (no address), per the quote's buyer_fields. Fixed amount: listing fields at top level; unit price: listings[] per listing_plan row"
    • addedInput schema / properties / digital_delivery / properties
      Added value: +{
      +  "ban_risk_acknowledged": {
      +    "description": "no effect; owner confirms on webaz.xyz",
      +    "type": "boolean"
      +  },
      +  "character_name": {
      +    "type": "string"
      +  },
      +  "enhancement_level": {
      +    "maximum": 30,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "listed_item_name": {
      +    "type": "string"
      +  },
      +  "listing_price": {
      +    "type": "integer"
      +  },
      +  "listing_valid_until": {
      +    "description": "ISO 8601 with offset, after the delivery window",
      +    "type": "string"
      +  },
      +  "listings": {
      +    "description": "Unit price only",
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "enhancement_level": {
      +          "maximum": 30,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "listed_at": {
      +          "description": "ISO 8601, optional",
      +          "type": "string"
      +        },
      +        "listed_item_name": {
      +          "type": "string"
      +        },
      +        "listed_quantity": {
      +          "description": "stack shown, default 1",
      +          "maximum": 9999,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "listing_price": {
      +          "description": "TOTAL listing price",
      +          "type": "integer"
      +        },
      +        "listing_valid_until": {
      +          "description": "ISO 8601 with offset, after the delivery window",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "listed_item_name",
      +        "enhancement_level",
      +        "listing_price",
      +        "listing_valid_until"
      +      ],
      +      "type": "object"
      +    },
      +    "maxItems": 10,
      +    "type": "array"
      +  },
      +  "region": {
      +    "description": "if server name is in 2 regions",
      +    "type": "string"
      +  },
      +  "server": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / digital_delivery / required
      Added value: +[
      +  "server",
      +  "character_name"
      +]
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true) it discloses the critical traits: nothing is ordered, charged or reserved; quote tokens are single-use; snapshots expire in 24h; price drift at approval hard-fails; one fee/approval/payment per checkout group; zero PII. This is exactly the non-obvious behavior an agent needs before committing.

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-loaded with the resource and scope, then creation modes, then safety constraints, then the next step — no filler sentences. The telegraphic shorthand ('ONE quote_token → frozen snapshot') is compact but occasionally terse enough to slow parsing.

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 7-parameter, nested-object tool with an output schema and annotations, the description covers the lifecycle (create snapshot → approval → order), expiry, and the OAuth scope/grant requirement. It leaves cancel/get/list behavior entirely to the schema, which is acceptable given the output schema and full parameter documentation.

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 real meaning the schema does not: quote_token and items are mutually exclusive creation paths, the token is single-use, and items yield one draft per checkout group. It says less about digital_delivery and draft_id, but those are fully documented in-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?

The description names the verb and resource precisely ('Buyer ORDER DRAFT', create from quote_token or items) and distinguishes the two creation paths plus the sibling that follows it (webaz_submit_order_request). An agent can tell this apart from webaz_quote_order and webaz_place_order 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?

It gives clear workflow context: use a quote_token for a frozen snapshot or items for per-checkout-group drafts, then call webaz_submit_order_request for human approval. It does not explicitly exclude alternatives like webaz_place_order or webaz_buy, but the 'snapshot only / no order created' framing effectively rules them out.

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