Skip to main content
Glama

Check a Blocket price

price_check
Read-onlyIdempotent

Check 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

NameRequiredDescriptionDefault
nearNoOnly ads within radius_km of a point; rows then carry distance_km.
ad_idNoAd id or blocket.se URL to judge.
queryNoSearch 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.
tradeNoTorget only: for sale (Säljes), free giveaways (Bortskänkes) or wanted ads (Köpes).
placesNoCounties (län) or municipalities, e.g. ['Stockholm'], ['Nacka', 'Värmdö'], ['Västra Götaland']. Omit for all of Sweden.
sellerNoOnly private sellers or only dealers (companies).
excludeNoDrop 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.
filtersNoVertical-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.
requireNoWords or phrases that must all appear in the row's title or specs (case-insensitive), e.g. ['128gb'].
shippingNoTorget only: only ads that can be shipped.
verticalNoDefault 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_maxNoLatest model year (vehicles).
year_minNoEarliest model year (vehicles).
new_priceNoCurrent lowest new price of the same model in Swedish shops (e.g. Billigast compare's cheapest.price), SEK incl. VAT.
new_todayNoOnly ads published today.
price_maxNoHighest price, SEK.
price_minNoLowest price, SEK.
seller_idNoOnly this seller's ads (seller.id from a row or get_ad).
title_onlyNoKeep only rows whose title contains every word of query.
mileage_max_milNoHighest mileage in Swedish mil (1 mil = 10 km).
mileage_min_milNoLowest mileage in Swedish mil (1 mil = 10 km).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds substantial behavior: comparables come from the newest 200 ads that pass the filters, non-passing ads are scanned then dropped, ads under 10% of new_price are discarded as accessories/parts, and vs_new reports the median and ad ask as a percentage of new price. These are non-obvious data-construction rules an agent could not infer from the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and return shape are front-loaded, then usage rules, then edge behaviors — a sensible order. It is dense with a long exclusion-list example and some run-on chaining ('scanned, dropped'), but almost every clause carries operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 21-parameter tool with no output schema, the description covers the return payload (percentile distribution, example ad count, percentile rank, vs_new), the two calling modes, and the filtering caveats. Nothing essential for a correct first call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description explains interactions the schema does not: ad_id drives derived filters, title_only requires every query word in the title, and new_price both enables vs_new and triggers the 10% accessory cutoff. It leaves several of the 21 parameters (near, places, seller, trade, shipping, year/mileage ranges) to the schema alone, so it stops short of full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific resource (Blocket used-item asking prices) and a precise output (p10/p25/median/p75/p90 of comparable live ads plus up to 6 examples). The opening user-intent framing ('what a used item sells for', 'whether an asking price is fair') lets an agent distinguish it from get_ad, which returns a single ad rather than a market distribution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing rules: pass ad_id to judge a specific ad (comparables derived from its make/model/year/mileage), or describe the item with search filters. It further states when to add title_only and excludes for mass-market products, with a concrete exclusion list, and when to supply new_price. The 'explicit filters override the derived ones' rule resolves the main ambiguity an agent would face.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools