How It Works & Live Probe Telemetry
Using pure decimal.Decimal math in 0.1 ms, this pricing modeler snaps base_price to your chosen psychological ending (.99, .95, .00, or .90—for example snapping 48.20 with .99 ending to anchor_price '47.99') and computes every quantity break tier (min_qty, discount_pct) alongside per-unit price, gross profit, and gross margin % relative to unit_cost.
Verified Endpoint & Billing Contract
| MCP Tool Name | psychological_tiered_pricing_modeler |
|---|---|
| Subdomain & Mode | pricing_fx · deterministic |
| REST Endpoint | POST https://devour-com.fastmesh.dev/v1/organs/psychological_tiered_pricing_modeler/invoke |
| MCP Endpoint | POST https://devour-com.fastmesh.dev/mcp (also mounted on https://mcp.fastmesh.dev/mcp) |
| Verified Probe Latency | 0.1 ms (HTTP 200, verified 2026-12-02T10:50:00Z) |
| Archive Cache TTL | 30 days (2592000s) cross-tenant verified-hit cache |
| Empty / Error Rule | Charge $0.00 when base_price <= 0, unit_cost < 0, or tier definitions are malformed. |
| Plans & Privacy | Starter $19/mo · Pro $79/mo · Scale $249/mo · Zero trajectory resale |
Production Use Cases
| Scenario | Trigger Input | Deterministic Output Value |
|---|---|---|
| Post-FX Charm Price Snapping | Convert raw EUR/GBP FX output into clean .99 storefront prices | Produces conversion-tested price endings automatically |
| Wholesale B2B Tier Builder | Generate 1+, 5+, and 20+ quantity breaks with margin floors | Highlights net unit margin at every discount tier |
| Promotional Bundle Modeling | Simulate 10% and 20% volume campaigns safely | Ensures high-volume tiers remain profitable over unit_cost |
MCP JSON-RPC 2.0 & REST Invocation Examples
Call via MCP tools/call on https://devour-com.fastmesh.dev/mcp:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "psychological_tiered_pricing_modeler",
"arguments": {
"base_price": "48.20",
"unit_cost": "14.50",
"ending": ".99",
"tiers": [
{
"min_qty": 1,
"discount_pct": "0"
},
{
"min_qty": 5,
"discount_pct": "10"
},
{
"min_qty": 20,
"discount_pct": "20"
}
]
}
}
}
Or invoke directly via REST (POST /v1/organs/psychological_tiered_pricing_modeler/invoke):
curl -sS -X POST https://devour-com.fastmesh.dev/v1/organs/psychological_tiered_pricing_modeler/invoke \
-H 'Content-Type: application/json' \
-d '{"input": {"base_price": "48.20", "unit_cost": "14.50", "ending": ".99", "tiers": [{"min_qty": 1, "discount_pct": "0"}, {"min_qty": 5, "discount_pct": "10"}, {"min_qty": 20, "discount_pct": "20"}]}}'
Verified structured JSON response:
{
"ok": true,
"anchor_price": "47.99",
"tier_schedule": [
{
"min_qty": 1,
"discount_pct": "0",
"unit_price": "47.99",
"margin_pct": "69.79"
},
{
"min_qty": 5,
"discount_pct": "10",
"unit_price": "43.19",
"margin_pct": "66.43"
},
{
"min_qty": 20,
"discount_pct": "20",
"unit_price": "38.39",
"margin_pct": "62.23"
}
],
"billable_usd": "0.005"
}
Strict Input Schema
{
"type": "object",
"properties": {
"base_price": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$"
},
"unit_cost": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$",
"default": "0"
},
"ending": {
"type": "string",
"enum": [
".99",
".95",
".00",
".90"
],
"default": ".99"
},
"tiers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"min_qty": {
"type": "integer",
"minimum": 1
},
"discount_pct": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$"
}
},
"required": [
"min_qty",
"discount_pct"
]
}
}
},
"required": [
"base_price"
],
"additionalProperties": false
}
Frequently Asked Questions
Which charm price endings are supported?
Enum values .99, .95, .00, and .90 are supported cleanly via Decimal quantization.
What happens if base_price is zero or tier definitions are invalid?
Schema validation blocks invalid inputs and bills $0.00.