cod_profit
Compute true CAC and net cash-on-delivery profit for an Algerian online store, accounting for the return/refusal rate. Returns base and confirmation-call scenarios.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selling_price": "<selling_price>",
"product_cost": "<product_cost>",
"ad_cost_per_order": "<ad_cost_per_order>"
},
"name": "cod_profit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| return_cost | No | DZD lost per refused/returned parcel (default 600). | |
| product_cost | Yes | Product cost (DZD). | |
| selling_price | Yes | Selling price per order (DZD). | |
| return_rate_pct | No | Percent of confirmed orders refused/undelivered (e.g. 25 for 25%). | |
| ad_cost_per_order | Yes | Ad spend to acquire one confirmed order (DZD). |