Amba

Item Catalog

Durable, consumable, and bundle items with virtual currency pricing.

The item catalog defines all purchasable items in your app. Items can be durable (owned forever), consumable (used up), or bundles (contain other items).

Item types

TypeDescriptionExample
durableOwned permanentlyThemes, avatars, character skins
consumableUsed up on useExtra lives, boosts, hints
bundleContains multiple itemsStarter pack, holiday bundle

MCP tools

ToolDescription
amba_create_catalog_itemCreate a catalog item
amba_list_catalogList items (optionally by category)
amba_set_item_priceSet a price in a virtual currency

Example: Set up an item catalog

Agent: "Create a theme shop with gold pricing"

amba_create_catalog_item({
  project_id: "proj_xxx",
  key: "theme_dark",
  name: "Dark Theme",
  description: "A sleek dark theme for your app",
  category: "themes",
  item_type: "durable"
})

amba_set_item_price({
  project_id: "proj_xxx",
  catalog_item_id: "item_xxx",
  currency_code: "gold",
  price: 200
})

amba_create_catalog_item({
  project_id: "proj_xxx",
  key: "extra_life",
  name: "Extra Life",
  category: "powerups",
  item_type: "consumable"
})

Client API reference

MethodPathDescription
GET/client/catalogBrowse catalog items
POST/client/catalog/:id/purchasePurchase an item

Database tables

TablePurpose
catalog_itemsItem definitions with key, type, category, tags, metadata
catalog_pricesPrices by currency for each item

On this page