Torob

v0.2.3
io.github.sepehr071/torob-mcp Checked 8 hours ago Published 13 days ago

Unofficial read-only Torob: compare Iranian shop prices, price history, deal checks and baskets.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tb_suggest Suggestions

Torob's autocomplete: up to 8 search phrases for typed text (fixes Finglish and colloquial wording). Use before tb_search. Works even while other calls are blocked.

ParameterTypeDescription
text *stringTyped text, e.g. 'ayfon' or 'لپ'.

tb_filters Search filters

Which filters exist for a query/category: sub-categories, brands, price span, sort options, attributes. Use before tb_search for category / brand ids or the attribute slugs and values of `filters`.

ParameterTypeDescription
category
querySearch text, e.g. 'لپ تاپ'.

tb_category Browse category

A category page: its parents, sub-categories and top products. Use to walk the category tree. For text search in a category use tb_search(category=).

ParameterTypeDescription
category *integerCategory id, e.g. 94 (mobile phones); see tb_filters.
brandBrand id or name.
limitinteger
max_priceToman.
pageinteger
sortstringmost_sellers = most shops.

tb_brands Brands

All brands of a category with their ids (for tb_search brand=).

ParameterTypeDescription
category *integerCategory id, e.g. 94 (mobile phones); see tb_filters.
limitinteger
searchName contains this text.

tb_offers Special offers

Torob's special-offers feed ("پیشنهاد ویژه"): themed rows with discounted or promoted products.

ParameterTypeDescription
limitintegerProducts per row.
pageinteger
sizeintegerRows per page; each row is ~900 KB upstream.

tb_cities Cities

City ids for `city` arguments (392 Tehran, 468 Mashhad, 240 Isfahan).

ParameterTypeDescription
limitinteger
searchPersian name or part, e.g. 'مشهد'; omit for most visited.

tb_product Product details

Full record of one product: name, price range (Toman), category, brand, key specs, cheapest offer. `price_min`/`price_max` include unreliable offers; `cheapest_offer` is the cheapest usable one on the page.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.
full_specsbooleanAdd the full spec table by section (long).

tb_sellers Sellers

Every online shop offer for a product, cheapest first, with trust, warranty, installment and delivery info. Use to pick where to buy. `score`/`votes`: shop rating 0-5; `unreliable`: bait or stale price; `buyer_notes`: Torob's order-volume and complaint notes; `updated`: price age. `stats` cover usable offers only.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.
cityCity id or name: only offers serving that city.
include_unreliablebooleanKeep offers flagged unreliable (bait or stale).
installment_onlybooleanInstallment (قسطی) shops only.
limitinteger
min_scorenumberMinimum shop score.
outputstring
warranty_onlybooleanTorob warranty (گارانتی ترب) offers only.

tb_stores In-person stores

In-person shops that stock a product: address, opening hours, open now, shelf price and its age. Use for "can I buy it today near me". Online offers: tb_sellers.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.
cityCity id or name: only offers serving that city.
limitinteger
with_locationbooleanAdd lat/lon.

tb_presence Shop presence

How widely a product is sold: online shops, in-person stores, installment and warranty shops, price window.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.

tb_variants Variants

Sibling variants of a product (storage + RAM, colour, region ...) each with its own cheapest price.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.

tb_price_chart Price chart

Price chart of a product (about a year, weekly): minimum and average price in Toman, with a buy-now verdict. `summary.verdict` (great / fair / high) follows `percentile`: share of weeks cheaper than now.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.
pointsintegerLatest weekly points (26 = about 6 months).

tb_price_history Price history events

Notable price moves of a product, newest first, with the lowest and highest point. Weekly moves of the chart's minimum price; a negative `change_pct` is a drop.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.
limitinteger
min_change_pctintegerIgnore smaller moves (percent).

tb_similar Similar products

Products Torob shows as similar (alternatives in the same class), with cheapest price and shop count.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.
limitinteger

tb_product_url Product URL

Clean torob.com URL for a product id, path or link (no request is sent).

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.

tb_products_batch Product cards

Short records (name, price window, shop counts, category, brand) for up to 10 products at once. One request per product; failures go to `errors`.

ParameterTypeDescription
products *array

tb_cheapest Cheapest offer

Cheapest trustworthy offer for a product named in words: searches, then looks at every shop's offer. Gives the best usable offer per top match and the overall `cheapest`; check the matched name.

ParameterTypeDescription
query *stringProduct, e.g. 'ps5 slim'.
candidatesintegerTop search matches to check (one request each).
cityCity id or name: only offers serving that city.
conditionstringused = کارکرده / stock.
installment_onlybooleanInstallment (قسطی) shops only.
min_scorenumberMinimum shop score.

tb_compare Compare products

Side-by-side comparison of 2-5 products: only the specs that differ, the price window, and which is cheapest. `differences` maps a spec to its values in `products` order (null = not listed).

ParameterTypeDescription
products *array

tb_best_value Best value under budget

Ranked product picks that fit a budget (Toman), for "best phone under 30 million". No quality score: check specs with tb_compare. In-stock products only.

ParameterTypeDescription
budget *integerMax price, Toman.
category
conditionstringused = کارکرده / stock.
limitinteger
min_shopsintegerSkip products with fewer shops.
queryWhat to buy, e.g. 'لپ تاپ'. Optional with category.
rank_bystringbudget_reach: priciest models that fit first.

tb_deal_check Deal check

Is this a good price? Score 0-100 from the product's price history and today's competing offers. 100 minus the price's percentile among past weekly minimums, minus up to 20 when above today's cheapest usable offer. `reasons` explains it.

ParameterTypeDescription
product *stringProduct id (UUID) or torob.com product URL.
priceOffered price, Toman; default today's cheapest usable offer.

tb_basket Shopping basket

Cheapest shop for a whole shopping list: best single shop that sells everything, and the split-cart total. Names resolve to the top search match (check `items[].name`; pass ids to be exact).

ParameterTypeDescription
items *arrayProduct names ('آیفون 13 128') or ids / URLs.
cityCity id or name: only offers serving that city.
conditionstringused = کارکرده / stock.
installment_onlybooleanInstallment shops only.
min_scorenumber

tb_shop Shop profile

A shop's trust profile: score and votes, e-Namad seal, time on Torob, city, website, delivery and payment terms. Use to vet a seller from tb_sellers. Contact details are left out.

ParameterTypeDescription
shop_id *integerTorob shop id (`shop_id` from tb_sellers).

tb_find_shops Find shops

Find shops in Torob's directory by name or domain; returns ids for tb_shop and tb_shop_products.

ParameterTypeDescription
query *stringShop name or domain, e.g. 'bavanmobile.ir'.
cityCity or province, Persian.
kindstringoffline = in-person.
limitinteger
pageinteger

tb_shop_products Shop catalogue

Products one shop sells on Torob, with the price range of the page. Card prices are the cheapest across all shops; tb_sellers gives this shop's own offer.

ParameterTypeDescription
shop_id *integerTorob shop id (`shop_id` from tb_sellers).
limitinteger
pageinteger
queryOnly products matching this text.
sortstring