Worth buying at this cost?
worth_itWhat the seller keeps after eBay fees and a verdict (worth it / thin / pass) for an expected sale price and what the user would pay. Pure arithmetic in the currency you give it, with eBay US fees: pass the sale price and the cost in the same currency (the one price_item named in price.currency). For a seller on eBay UK, the worthIt block price_item returns already uses their own fees. Use price_item first when the sale price is unknown.
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": {
"expected_sale_price": "<expected_sale_price>",
"cost": "<cost>"
},
"name": "worth_it"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | What the user would pay for the item, in the same currency as expected_sale_price. | |
| expected_sale_price | Yes | Expected eBay sale price, in the same currency as cost. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| rule | No | ||
| text | No | ||
| label | No | The verdict in words. | |
| profit | No | ||
| verdict | No | ||
| unstructured | No | True: read `text`. | |
| netAfterEbayFees | No | What the seller keeps after eBay fees. | |
| expectedSalePrice | No |