RabATt
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RABATT_NEAR | No | Your postcode or town (e.g. 8020, Graz); the store and stock tools use it whenever the AI doesn't name a place. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Prices of Austrian supermarkets and drugstores: BILLA (incl. BILLA PLUS), SPAR (incl. EUROSPAR, INTERSPAR), HOFER and dm. Prices are in EUR and are the chains' national prices; a single store can differ.
Which tool to use:
a product by name, or the cheapest of something: search_products. It asks every chain at once; chains narrows it.
what a whole shopping list costs at each chain: compare_basket.
a product type at one chain: list_categories, then browse_category.
what is on sale now, or HOFER's promotions of the coming days: get_promotions.
more on one hit: get_product. Whether a store near the user has it: check_availability. Stores near a place: find_stores.
Hits: id is the chain's own product id (use it with that chain only), price the current price, unit_price the price per 1 kg, 1 l or 1 piece (unit) for comparing pack sizes across chains. on_sale and was_price only appear on sale items, available_from only on HOFER promotion items that start later.
Chains differ in what they can filter: diet filters exist at BILLA (no organic), SPAR and dm, none at HOFER; on_sale at BILLA and SPAR. A chain that cannot apply a filter is left out with a note rather than shown unfiltered. Where a chain cannot sort or cap the price itself, it is done here on its 60 most relevant hits.
Paging is per chain: next_offset is where that chain's next page starts, has_more whether anything is left.
Places: near takes an Austrian postcode or town. Without it, the user's default from the RABATT_NEAR setting is used, if set.
dm's search is slow to answer repeated calls (it rate-limits), so prefer one broad dm search over several narrow ones. Fields without a value are left out of results.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_productsA | Search products by keyword at every chain (or the given Returns one entry per chain: Args: query: Free-text search term, German works best. diet: Keep only vegan, vegetarian, organic, gluten_free or lactose_free products. on_sale: Only products on sale right now. max_price: Highest price in EUR. sort: "" (relevance, default), "price" (cheapest first) or "unit_price" (cheapest per kg / l / piece, for comparing). Where a chain cannot sort itself it is done on its 60 most relevant hits, which a note then says. rows: Hits per chain, at most 20. Default 5. offset: Paging offset per chain. Default 0. |
| browse_categoryA | List the products of one category at one chain. Take the code from
Args: category: The chain's category code. diet / on_sale / max_price / sort: As in search_products. rows: Hits, at most 20. Default 10. offset: Paging offset. Default 0. |
| list_categoriesA | Look up category codes by German name, for Args: query: Case- and accent-insensitive substring. Omit to list all. limit: Categories in all, at most 100. Default 40. |
| get_productA | Full detail of one product: price and unit price, description,
ingredients, allergens, origin, nutrition (where the chain has them),
category and a picture. BILLA and dm add the product page Args:
product_id: A hit's |
| compare_basketA | What a shopping list costs at each chain. Give one product per item,
as specific as a search ("vollmilch 1l", "barilla spaghetti"), with an
optional quantity ("2x butter"). For each chain and item it takes the
product whose name matches the item best, sold by the same unit (l, kg,
piece) as at most chains, and the cheapest of equally good matches. Each
pick lists up to two Returns per chain Args: items: The shopping list, at most 15 items. chains: Default BILLA, SPAR and HOFER; add dm for drugstore goods, it has no food. |
| find_storesA | The stores closest to a place, per chain, with Args: near: An Austrian postcode or town; defaults to RABATT_NEAR. limit: Stores per chain, at most 10. Default 3. |
| check_availabilityA | Whether stores near a place (or one store) have a product: BILLA, dm and HOFER give stock levels; SPAR only says whether a store "listed" the product. HOFER keeps stock data for promotion items only. Args:
product_id: A hit's |
| get_promotionsA | What is on sale. Without HOFER entries carry Args:
upcoming: Promotions that have not started yet instead of current ones.
leaflets: Return links to the BILLA and SPAR leaflets of the
province of |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Most tools have clearly distinct purposes: product search, category browsing, detail lookup, basket comparison, store lookup, availability, and promotions are all separate workflows. There is minor overlap between search_products and browse_category (both list products) and between get_promotions and search_products with on_sale, but the descriptions explicitly clarify when to use each.
Every tool follows a clear snake_case verb_noun pattern: search_products, compare_basket, find_stores, browse_category, list_categories, get_product, check_availability, get_promotions. There are no mixed conventions or vague names.
Eight tools is well-scoped for a grocery price-comparison server. Each tool covers a distinct part of the workflow—discovery, detail, store lookup, availability, promotions, and basket comparison—without obvious redundancy.
The surface covers the core domain well: product search and browsing, product detail, cross-chain basket cost comparison, store locator, stock availability, and promotions/leaflets. A few minor gaps remain, such as direct item-level cross-chain comparison outside a basket and richer chain metadata, but no critical workflow is missing.