Calculate profit per unit
calculate_profitUse this when the user asks what they make per unit after VAT, marketplace commission (noon, Amazon), fulfilment, ads and costs, or their break-even price or margin. Unit economics for a UAE seller in AED: what is left of a selling price after 5% VAT, coupons, marketplace commission, fulfilment, storage, ads, returns, purchase cost, shipping, customs and packaging, with margin, markup, break-even price, monthly profit and break-even units. VAT is handled both ways: output VAT is taken out of the price when the seller is VAT registered, and VAT charged on purchases and fees is a cost only when it cannot be reclaimed. Costs are excluding VAT. Anything not given counts as 0; use only figures the user gave, as fees differ by marketplace and category. Do not use it for a connected business's actual profit and loss (get_profit_and_loss).
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": {
"business_type": "<business_type>",
"price": "<price>",
"vat_registered": "<vat_registered>",
"purchase_cost": "<purchase_cost>"
},
"name": "calculate_profit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Selling price per unit, AED. | |
| packaging | No | Per unit, AED. | |
| storage_fee | No | Storage per unit sold, AED excluding VAT. | |
| customs_cost | No | Customs duty and clearance per unit, AED. | |
| business_type | Yes | noon, amazon, own_store, trading or services. Decides which costs apply. | |
| purchase_cost | Yes | Purchase cost per unit excluding VAT (services: direct cost per job), AED. | |
| fulfilment_fee | No | Fulfilment or delivery per unit, AED excluding VAT. | |
| vat_registered | Yes | Whether the seller is VAT registered. | |
| returns_percent | No | Returned units per 100 sold. | |
| units_per_month | No | ||
| ad_cost_per_unit | No | Ad spend per unit sold, AED. | |
| discount_percent | No | ||
| fees_vat_charged | No | The platform adds 5% VAT on its commission, fulfilment and storage fees. | |
| inbound_shipping | No | Per unit, AED. | |
| commission_percent | No | Marketplace commission, or payment and platform fees, in %. | |
| price_includes_vat | No | true when the price already includes 5% VAT. Default false. | |
| ad_percent_of_sales | No | Ad spend as % of net sales. Or use ad_cost_per_unit. | |
| fixed_monthly_costs | No | Licence, rent, staff, software… per month, AED. | |
| purchase_vat_charged | No | The supplier adds 5% VAT on the purchase cost. | |
| commission_on_vat_inclusive_price | No | Commission is charged on the VAT-inclusive price. |