Price summary for a search
sp_price_summarySummarizes asking prices from the newest Sheypoor ads for a search, returning count, min, median, quartiles, max, and cheapest/priciest listings so you can answer “what does X cost?”
Instructions
Summarise asking prices of the newest ads for a search: count, min, median, quartiles, max, plus cheapest and priciest ads.
Use it for "what does X cost on Sheypoor": asking prices of the newest ads, not sold prices. Ads without a numeric price and prices under 10,000 Toman are left out. Narrow the query (year, brand, city) for a useful median. Values are in Toman.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sp_price_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City or province slug from sp_cities, e.g. tehran. 'iran' = all Iran. | iran |
| pages | No | Result pages (24 ads each) to sample. | |
| query | No | Persian words, e.g. پراید. | |
| filters | No | Filters from sp_filters as {name: value}: a<id> option id, mn<id>/mx<id> range ends (mn68101: '1400' = year from). | |
| category | No | Slug from sp_categories (car, mobile-phone) or sp_filters path (car/peugeot/206). Omit for all. | |
| max_price | No | Highest price, Toman. | |
| min_price | No | Lowest price, Toman. | |
| neighbourhoods | No | Neighbourhood ids from sp_filters(area=...), e.g. ['888']. City-level only. |