Selling fees and profit on one marketplace
calculate_resale_feesWork out the selling fees, the payout and the profit of one sale on a resale marketplace (eBay US/UK/DE/FR/IT/ES/AU/CA, Vinted EU/UK, Depop, Poshmark, Mercari, Etsy, Grailed, Vestiaire Collective, Whatnot, Kleinanzeigen), from the platform's published fee schedule. Returns each fee line, total fees, net payout, profit, margin and the lowest sale price that breaks even, with the date the fees were read and the official source. Amounts are in the platform's own currency.
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": {
"platform": "<platform>",
"sale_price": "<sale_price>"
},
"name": "calculate_resale_fees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional fee category where the platform has one (the answer lists the ones available) | |
| platform | Yes | Marketplace and market | |
| item_cost | No | What you paid for the item (default 0) | |
| sale_price | Yes | Price the item sells for, in the platform's currency | |
| promoted_pct | No | Promoted or boosted listing rate in % (default 0) | |
| international | No | International sale, where the platform charges an extra fee (default false) | |
| shipping_paid | No | What you pay for the label (default 0) | |
| shipping_charged | No | Shipping the buyer pays to you (default 0; 0 when the platform bills the buyer directly, as on Vinted) |