Check a Blocket price
price_checkCheck if a used item's Blocket asking price is fair by comparing it with live comparable ads. Judge a specific ad or search by item details to get price percentiles and examples.
Instructions
Use this when the user asks what a used item sells for on Blocket, whether an asking price is fair, or whether to buy used or new. Returns the asking-price distribution (p10/p25/median/p75/p90) of comparable live ads, with up to 6 example ads. Give ad_id to judge that ad (comparables are derived from its make, model, year, mileage or length; its percentile is returned), or describe the item with the search filters. For Torget items pass a short query (e.g. 'iphone 13 128gb') for good comparables; for mass-market products (phones, consoles, headphones) also pass title_only and excludes for accessories and wanted ads, e.g. ['skal', 'fodral', 'laddare', 'kontroll', 'controller', 'headset', 'fäste', 'cover', 'köpes', 'bytes']. With require/exclude/title_only the stats come from those of the newest 200 ads that pass them (scanned, dropped). Pass new_price when a shop price comparison gave you one: vs_new says what % of it the median and the ad ask, and ads under 10% of it are left out as accessories or parts. Explicit filters override the derived ones.
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": "price_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Only ads within radius_km of a point; rows then carry distance_km. | |
| ad_id | No | Ad id or blocket.se URL to judge. | |
| query | No | Search words, ideally Swedish ('soffa', 'barnvagn', 'V70', 'Hallberg-Rassy'). Blocket operators: -word excludes a word, a OR b matches either, "exact phrase", word* matches a prefix. | |
| trade | No | Torget only: for sale (Säljes), free giveaways (Bortskänkes) or wanted ads (Köpes). | |
| places | No | Counties (län) or municipalities, e.g. ['Stockholm'], ['Nacka', 'Värmdö'], ['Västra Götaland']. Omit for all of Sweden. | |
| seller | No | Only private sellers or only dealers (companies). | |
| exclude | No | Drop rows whose title or specs contain any of these (case-insensitive, also inside words), e.g. ['skal', 'laddare', 'köpes'] for a phone. 'köpes' and 'bortskänkes' also drop wanted ads and giveaways. | |
| filters | No | Vertical-specific filters by Blocket filter name → value label(s) or {min,max}. Examples: car {make: 'Volvo', model: 'V70', fuel: 'Diesel', transmission: 'Automatisk', body_type: 'Kombi', car_equipment: ['Dragkrok']}; boat {class: 'Segelbåt', make: 'Najad', length_feet: {min: 28}}; torget {category: 'Möbler och inredning', condition: 'Mycket bra skick - som ny', brand: 'IKEA'}. Unsure? Call list_filters. | |
| require | No | Words or phrases that must all appear in the row's title or specs (case-insensitive), e.g. ['128gb']. | |
| shipping | No | Torget only: only ads that can be shipped. | |
| vertical | No | Default torget, or the ad's vertical with ad_id. torget = general marketplace (furniture, electronics, clothes, kids, hobby, tools...); car, boat, mc (motorcycles), caravan (husvagn), motorhome (husbil), truck (lastbil/släp), tractor, combine (skördetröska), snowmobile, atv, moped (mopeder/scooters), bus. | |
| year_max | No | Latest model year (vehicles). | |
| year_min | No | Earliest model year (vehicles). | |
| new_price | No | Current lowest new price of the same model in Swedish shops (e.g. Billigast compare's cheapest.price), SEK incl. VAT. | |
| new_today | No | Only ads published today. | |
| price_max | No | Highest price, SEK. | |
| price_min | No | Lowest price, SEK. | |
| seller_id | No | Only this seller's ads (seller.id from a row or get_ad). | |
| title_only | No | Keep only rows whose title contains every word of query. | |
| mileage_max_mil | No | Highest mileage in Swedish mil (1 mil = 10 km). | |
| mileage_min_mil | No | Lowest mileage in Swedish mil (1 mil = 10 km). |