Promotional Limits
Time-based and volume-limited promotions
Promotional Limits
Control promotions with time windows, volume limits, and customer eligibility.
The Scenario
Black Friday promotion:
- Up to 20% off for qualifying orders
- Only for orders 100+ units
- Maintain minimum 15% margin
- Different tiers for different customer segments
The Policy
Testing Customer Tiers
Using with MCP
Validate promotional discounts before checkout.
Note on units:
discount_amount: Integer in minor currency units (cents). Example: 100000 = $1,000.00order_value: Dollar amount. Example: 5000 = $5,000.00- The tool calculates
discount_percentageinternally as:discount_amount / (order_value * 100)
In this example, 100000 / (5000 * 100) = 0.20 (20% discount):
UCP Integration
The simulate_checkout_discount tool returns UCP-formatted allocations: