Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_commerce_bundle_margin

Read-onlyIdempotent

Calculate per-product bundle cost, discount and contribution margin with fees and customer shipping. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

Input Schema

NameRequiredDescriptionDefault
itemsYesitems; see operation description for units and format
fee_pctNofee pct; see operation description for units and format
bundle_priceYesbundle price; see operation description for units and format
shipping_costNoshipping cost; see operation description for units and format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources