calculate_fees
Use when you already know WHICH marketplace a trading card will sell on and need its itemized seller fees, payout fee and net profit. Inputs: marketplace id (see list_marketplaces) and sale price, optional shipping, cost basis, tax rate and payout method. Read-only; returns fee lines, net profit, warnings, and an assumptions block naming every fee figure, payout fee, shipping rule and source used. Unpublished payout fees are null and flagged unverified. For comparing all sites use best_place; for buy-then-resell use evaluate_flip.
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": {
"marketplace": "<marketplace>",
"price": "<price>"
},
"name": "calculate_fees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vip | No | ||
| price | Yes | Sale price (USD) | |
| graded | No | ||
| taxRate | No | Buyer sales tax rate, e.g. 0.08 (affects eBay/TCGplayer/Whatnot fees) | |
| costBasis | No | What you paid for the item | |
| comcService | No | ||
| marketplace | Yes | ||
| payoutMethod | No | How you get paid. ebay: standard|express|ebay_balance; comc: paypal|check|store_credit; fanatics: cash|fancash; arenaclub: bank|debit_instant|wallet; tcgplayer: direct_deposit|paypal_international; whatnot: bank | |
| shippingCost | No | Your actual postage cost | |
| shippingCharged | No | Shipping charged to buyer |