Similar ads
sp_similarCompares an ad with similar listings in the same city and category, filtered by price range, to help assess whether its asking price is low or high.
Instructions
Find ads comparable to one ad: same city and deepest category (car model...), price within a percent band.
Use it to judge whether an ad is cheap or dear. With fewer than 3 matches it widens to the parent category
(shown in category). Rentals and ads without a numeric price match by category only. Newest first; the ad
itself and paid showcase ads are left out.
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": {
"id": "<id>"
},
"name": "sp_similar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ad id from sp_search. | |
| limit | No | Max ads. | |
| price_range_pct | No | Keep ads within this percent of the ad's price. |