Skip to main content
Glama

webaz_buy

One-call buy once the user chose the product, option and quantity and agreed the price (replaces quote → draft → submit; same checks). Within the owner's small-order auto-approval the order is placed now; pay_with "x402" also returns x402_payment_required: wallet signs it → webaz_pay_order. Otherwise returns approval_url. Price above max_total_usdc → nothing ordered. No pay_with → the way last paid with if offered, else returns the ways to choose. user_message is for the person. Direct Pay only. idempotency_key: submit uses it as is, the draft step "-d".

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": {
      "max_total_usdc": "<max_total_usdc>"
    },
    "name": "webaz_buy"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNo
pay_withNo"x402" or a returned account_id
quantityNo
product_idNo
variant_idNo
max_total_usdcYes
idempotency_keyNo
digital_deliveryNoGame currency, per the quote's buyer_fields + listing_combo. Fixed: listing fields at top level; unit price: listings[]
reorder_from_order_idNobuy an earlier order again (no product_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / reorder_from_order_id
      Added value: +{
      +  "description": "buy an earlier order again (no product_id)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "product_id",
      -  "max_total_usdc"
      -]New value: +[
      +  "max_total_usdc"
      +]
  2. 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"
      +}
  3. 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"
      +]
  4. Changed4 schema fields changed
    • addedInput schema / properties / digital_delivery / additionalProperties
      Added value: +false
    • addedInput schema / properties / digital_delivery / description
      Added 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"
      +]
  5. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), it discloses concrete behavior: automatic placement within the owner's small-order auto-approval window, an approval_url returned otherwise, nothing ordered when the price exceeds max_total_usdc, and how idempotency_key is consumed ("<key>-d" for the draft step). This is exactly the mutation and failure-mode context annotations cannot supply.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and every clause carries information, but the telegraphic, fragment-heavy run-on style ("No pay_with → the way last paid with if offered, else returns the ways to choose") forces the agent to parse broken grammar, reducing clarity per token spent.

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 9-parameter mutation tool with nested objects and no output schema, the definition covers preconditions, both payment paths, the price-cap safety behavior, and follow-up tools. Remaining gaps are the unexplained "options" structure and the missing user_message parameter, but the agent has enough to act correctly.

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 only 33%, so the description must carry weight. It clarifies pay_with, max_total_usdc and idempotency_key semantics, but leaves the complex nested "options" object entirely unexplained, and refers to a "user_message" parameter that does not appear in the schema — a small inconsistency that limits the added value.

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 ("One-call buy") and scopes it precisely, noting it replaces the quote → draft → submit path with the same checks. An agent can immediately tell this apart from the multi-step siblings (webaz_quote_order, webaz_order_draft, 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 Guidelines5/5

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

Gives explicit preconditions ("once the user chose the product, option and quantity and agreed the price"), a named alternative path (pay_with "x402" → wallet signs → webaz_pay_order), and fallback behavior when pay_with is omitted or the price exceeds max_total_usdc. Usage is fully determined rather than inferred.

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