Calculate All-In Surplus Margin & Max Safe Bid
calculate_all_in_marginRun SurplusMargin's exact government auction all-in landed cost calculator (buyer's premium + sales tax on hammer and premium + card fee + SF-97/title fees + tow + selling fees) and backward-solve the clearfills Max Safe Hammer Bid to avoid negative-margin traps.
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": {
"agency": "<agency>",
"hammer_bid_dollars": "<hammer_bid_dollars>",
"sold_comp_dollars": "<sold_comp_dollars>"
},
"name": "calculate_all_in_margin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agency | Yes | Auction platform/agency fee profile: 'gsa' (0% premium), 'municibid' (8.5%), 'publicsurplus' (10%), 'govdeals' (12.5%), or 'govplanet' (15% + $125 SF-97). | |
| tow_dollars | No | Estimated towing, transport, or freight cost in USD. Defaults to 300. | |
| state_tax_pct | No | Combined state + municipal sales tax percentage (e.g. 7 for 7.0%). Defaults to 7.0%. | |
| selling_channel | No | Resale channel: 'local_fb' (0% fee), 'dealer_wholesale' (5% fee), or 'ebay' (13% fee). Defaults to 'ebay'. | |
| sold_comp_dollars | Yes | Verified realized resale comp price in USD (e.g. 5000). | |
| hammer_bid_dollars | Yes | Winning or target hammer bid in USD (e.g. 4000). |