Skip to main content
Glama

Bite

Compare grocery basket prices

compare_basket
Read-only

Compares a grocery shopping list using online prices for Shufersal, Rami Levy, Victory, Carrefour, Yaynot Bitan and Quik. Returns the total at each chain, the cheapest single chain, the cheapest split across chains, items not found, and links that open each chain's cart pre-filled. Chain totals include the chain's delivery fee, shown separately as deliveryFee (null means the fee is unknown and that total may exclude delivery). favorite: exact means that chain's product is one of the user's Bite favorites for the item. A chain without it has no favorite field and uses Bite's usual match. Signed in, the user's saved cards and clubs (add_benefit_program) are applied and the result lists which chains used card prices; otherwise totals are public prices and no card or club is mentioned. Example requests: "where is my shopping cheapest", "compare my list", "השוואת סל", "איפה הכי זול", "רשימת קניות", "סופר". Items may name a brand ("קוטג' בדין", "שוקולד עלית"); the chosen brand's product is matched at every chain. Returns a basket_id for refine_basket.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>",
      "address": "<address>"
    },
    "name": "compare_basket"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesGrocery items as the user wrote them, Hebrew or English, one per entry, with brand, quantity or size if given (e.g. "חלב 3% x2", "eggs L 12").
localeNoLanguage of a "message" reply. Default "he".
addressYesDelivery city or street and city in Israel (e.g. "רמת גן", "Herzl 10, Haifa").
max_chainsNoMost chains the user is willing to order from. Default 2.
reply_formatNo"message" returns a short ready-to-send chat message with the main numbers instead of the full card data. Default "card".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial behavior beyond the read-only annotations: delivery fees folded into totals with deliveryFee=null meaning unknown, favorite field semantics, and a clear signed-in vs anonymous distinction covering card/club pricing. What is missing is any statement of latency, rate limits, or freshness of the scraped online prices for a call that hits six external chains.

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?

Front-loaded with the core action, then return shape, then edge-case semantics, then example phrasings. Dense but nearly every sentence carries operational meaning; the six-item example list is slightly longer than needed but serves as routing evidence.

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?

With no output schema and a complex return payload (per-chain totals, cheapest single, cheapest split, missing items, cart links, deliveryFee, favorite, basket_id), the description enumerates the return fields precisely enough that an agent knows what to expect and how to hand off to refine_basket.

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 adds real meaning by explaining that items may carry brands which are then matched at every chain, and that the result contains a basket_id usable with refine_basket. It does not address max_chains, locale, or reply_format, so it does not fully cover the parameter surface.

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?

States a specific verb and resource ('Compares a grocery shopping list') and enumerates the exact chains priced, so an agent can distinguish it from single-product tools like find_product_prices or find_card_prices without opening the schema.

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

Usage Guidelines4/5

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

Provides concrete example utterances in Hebrew and English ('compare my list', 'איפה הכי זול') that implicitly define when to use it, and routes to refine_basket via basket_id. It stops short of explicitly naming sibling alternatives such as compare_my_list or find_product_prices and the condition that would select them.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources