Skip to main content
Glama

BasketWatch

What a basket cost on an earlier date

price_basket_over_time
Read-onlyIdempotent

How the cost of the same basket changed between two dates, at the store it was bought from: each product's price on both dates, whether it was on promotion, the basket total on each date, and the products that moved it. BasketWatch has recorded every product's price every night since May 2026. Up to 100 lines per call; each line takes name, sku (the retailer's printed item number, with the line's words in name), barcode, store and quantity.

change_pct is the change in what the basket cost (promotions included);
shelf_change_pct is regular prices only, so the gap between the two is
promotions starting or ending, not price rises. biggest_rises and
biggest_falls list the lines that moved most; pack_changed marks a product
whose pack size changed, confirmed over three days of records (a smaller
pack at the same price is a hidden rise). Lines in not_compared were not
found, or not sold on one of the dates.

Each product compared costs one credit.

Args:
    items: e.g. [{"sku": "100858349", "quantity": 2}, {"name": "brennans wholemeal bread"}].
    from_date: the earlier date, YYYY-MM-DD, e.g. "2026-08-06".
    to_date: the later date, YYYY-MM-DD; defaults to today.
    store: the receipt's supermarket (aldi, tesco, supervalu or dunnes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
storeNo
to_dateNo
from_dateYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
itemsNo
changeNototal_now minus total_then, euro
to_dateNo
from_dateNo
total_nowNo
change_pctNo
total_thenNo
not_comparedNoLines not found, or not sold on one date
biggest_fallsNo
biggest_risesNo
items_unchangedNo
shelf_total_nowNo
shelf_change_pctNoChange in regular prices only: real price moves, without promotions
shelf_total_thenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources