Skip to main content
Glama

create_order

Legacy auth-required tool — prefer the open UCP flow (create_cart → create_checkout → complete_checkout) which needs no credentials. Use create_order only if you hold a Bearer token and want a single-call path to a payment link. All item prices are re-verified server-side against the live pricing engine — agent-supplied prices are ignored. Returns a Yoco or Ozow payment_url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesArray of configured blind items
customer_cityNoDelivery city
customer_nameYesCustomer full name
customer_emailYesCustomer email address
customer_phoneYesCustomer phone number
payment_methodNoYoco card or Ozow instant EFTyoco
customer_addressNoDelivery address

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contactYes
messageYes
successYes
currencyYes
order_idYes
total_zarYes
item_countYes
payment_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / items / items / required
      Previous value: -[
      -  "product_id",
      -  "width_mm",
      -  "height_mm",
      -  "colour",
      -  "mount_type",
      -  "unit_price_zar",
      -  "total_price_zar"
      -]New value: +[
      +  "product_id",
      +  "width_mm",
      +  "height_mm",
      +  "colour",
      +  "mount_type"
      +]
    • addedInput schema / properties / items / minItems
      Added value: +1
    • addedInput schema / properties / payment_method
      Added value: +{
      +  "default": "yoco",
      +  "description": "Yoco card or Ozow instant EFT",
      +  "enum": [
      +    "yoco",
      +    "ozow"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "contact": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "contact_name": {
      +          "type": "string"
      +        },
      +        "contact_phone": {
      +          "type": "string"
      +        },
      +        "email": {
      +          "type": "string"
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "whatsapp": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [],
      +      "type": "object"
      +    },
      +    "currency": {
      +      "const": "ZAR",
      +      "type": "string"
      +    },
      +    "item_count": {
      +      "type": "number"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "order_id": {
      +      "type": "string"
      +    },
      +    "payment_url": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "success": {
      +      "type": "boolean"
      +    },
      +    "total_zar": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "order_id",
      +    "total_zar",
      +    "currency",
      +    "item_count",
      +    "payment_url",
      +    "message",
      +    "contact"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources