Endpoints: 76,849MCP servers: 32,730Payout addresses: 3,825Paid calls: 6,160Letters: 84Defects: 3,898counted 4 min ago
teppi

Server definition

Hash
sha256:e80ff5cacaf6920c651793ce62db9684a931895de56b536e1a54f1a18d510c48
What it is
What a remote MCP server returned when asked what it offers: 11 tools

The blob, as servednamed by its sha256

{ "instructions": "MyGroceryPal compares prices across UK supermarkets, checked daily. Prices are in pounds sterling, with pence fields for arithmetic; loyalty prices (Clubcard, Nectar and so on) count as the price and are marked. Search for one product; price a list or a recipe with price_shopping_list in one call, and end with its listPageUrl so the user can open and save the list; to spend less at one store, find_cheaper_swaps. For an old receipt, check_price_history takes a date. The other tools take the productIds these return. A store total that does not cover every line is partial: say so. Link the user to productUrl for the full comparison, and to storeUrl when they want to buy at a store.", "tools": [ { "description": "Say whether each product's cheapest current price is a good deal: its 60-day low and high, its typical price, and a verdict. Takes up to 40 productIds in one call, so check a whole basket at once. For one product, give a date to also get each store's price that day, promotions and loyalty prices included, for checking an old receipt; add paidPence to compare what the user paid. History starts in late July 2025; a store with no reading that day shows the nearest one within 3 days, with its date. Dates more than 90 days back need the user's MyGroceryPal account.", "inputSchema": { "additionalProperties": false, "properties": { "date": { "description": "YYYY-MM-DD, with exactly one product: also return each store's price on that day, e.g. the date on a receipt", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, "paidPence": { "description": "With date: what the user paid for one, in pence, to compare with the cheapest store that day", "maximum": 100000, "minimum": 1, "type": "integer" }, "productId": { "description": "One productId; productIds takes several", "pattern": "^[a-zA-Z0-9_-]{1,128}$", "type": "string" }, "productIds": { "description": "Up to 40 productIds returned by search_grocery_prices, checked in one call", "items": { "pattern": "^[a-zA-Z0-9_-]{1,128}$", "type": "string" }, "maxItems": 40, "minItems": 1, "type": "array" } }, "type": "object" }, "name": "check_price_history", "outputSchema": { "properties": { "notCheckedProductIds": { "items": { "type": "string" }, "type": "array" }, "products": { "items": { "additionalProperties": false, "properties": { "brand": { "type": [ "string", "null" ] }, "cheapestStore": { "type": [ "string", "null" ] }, "currentPrice": { "type": [ "string", "null" ] }, "currentPricePence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "high60dPence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "low60dPence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "name": { "type": "string" }, "onDate": { "anyOf": [ { "additionalProperties": false, "properties": { "allStoresCovered": { "type": "boolean" }, "cheapestPricePence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "cheapestStore": { "type": [ "string", "null" ] }, "date": { "type": "string" }, "historyStartsOn": { "type": [ "string", "null" ] }, "paid": { "anyOf": [ { "additionalProperties": false, "properties": { "cheapestPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "differencePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "paidPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "verdict": { "enum": [ "paid_the_lowest", "paid_more", "paid_less" ], "type": "string" } }, "required": [ "paidPence", "cheapestPence", "differencePence", "verdict" ], "type": "object" }, { "type": "null" } ] }, "stores": { "items": { "additionalProperties": false, "properties": { "exact": { "type": "boolean" }, "fromPrice": { "type": "boolean" }, "loyaltyCard": { "type": [ "string", "null" ] }, "observedOn": { "type": "string" }, "offer": { "type": [ "string", "null" ] }, "price": { "type": "string" }, "pricePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "regularPricePence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "store": { "type": "string" } }, "required": [ "store", "observedOn", "exact", "pricePence", "price", "regularPricePence", "offer", "loyaltyCard", "fromPrice" ], "type": "object" }, "type": "array" }, "storesWithoutPrice": { "items": { "type": "string" }, "type": "array" } }, "required": [ "date", "historyStartsOn", "stores", "storesWithoutPrice", "allStoresCovered", "cheapestStore", "cheapestPricePence", "paid" ], "type": "object" }, { "type": "null" } ] }, "onSale": { "type": "boolean" }, "productId": { "type": "string" }, "productUrl": { "type": "string" }, "typicalPricePence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "verdict": { "anyOf": [ { "enum": [ "cheapest_in_60_days", "typical", "higher_than_usual", "not_enough_history" ], "type": "string" }, { "type": "null" } ] } }, "required": [ "productId", "name", "brand", "productUrl", "onSale", "cheapestStore", "currentPricePence", "currentPrice", "low60dPence", "high60dPence", "typicalPricePence", "verdict", "onDate" ], "type": "object" }, "type": "array" }, "unknownProductIds": { "items": { "type": "string" }, "type": "array" } }, "required": [ "products", "unknownProductIds", "notCheckedProductIds" ], "type": "object" } }, { "description": "Total a basket of up to 30 products at each UK supermarket, name the cheapest single store, and suggest a split across two or three stores when it is cheaper or gets more of the list. A store that does not sell a product is priced with its own like-for-like equivalent where one clearly matches (another supermarket's own-brand cottage cheese for ASDA's), listed in its swaps. Each store says whether it delivers (false means in store only) and any online minimum order its total misses. Needs the user's MyGroceryPal account.", "inputSchema": { "additionalProperties": false, "properties": { "items": { "items": { "properties": { "productId": { "description": "A productId returned by search_grocery_prices", "maxLength": 128, "minLength": 1, "type": "string" }, "quantity": { "maximum": 99, "minimum": 1, "type": "integer" } }, "required": [ "productId", "quantity" ], "type": "object" }, "maxItems": 30, "minItems": 1, "type": "array" } }, "required": [ "items" ], "type": "object" }, "name": "compare_basket", "outputSchema": { "properties": { "bestSingleStore": { "anyOf": [ { "additionalProperties": false, "properties": { "homeDelivery": { "description": "false: in store only; null: not known", "type": [ "boolean", "null" ] }, "itemsPriced": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "missingProductIds": { "items": { "type": "string" }, "type": "array" }, "onlineNotes": { "items": { "type": "string" }, "type": "array" }, "store": { "type": "string" }, "swaps": { "description": "The store's own equivalent of a basket product it does not sell, priced in its total", "items": { "additionalProperties": false, "properties": { "forProductId": { "type": "string" }, "linePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "name": { "type": "string" }, "productId": { "type": "string" }, "size": { "type": "string" } }, "required": [ "forProductId", "productId", "name", "size", "linePence" ], "type": "object" }, "type": "array" }, "total": { "type": "string" }, "totalPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "store", "totalPence", "total", "itemsPriced", "missingProductIds", "swaps", "homeDelivery", "onlineNotes" ], "type": "object" }, { "type": "null" } ] }, "itemCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "pausedStores": { "description": "Stores whose price checks are paused: their prices are left out of every total here.", "items": { "additionalProperties": false, "properties": { "pausedSince": { "type": "string" }, "store": { "type": "string" } }, "required": [ "store", "pausedSince" ], "type": "object" }, "type": "array" }, "split": { "anyOf": [ { "additionalProperties": false, "properties": { "itemsPriced": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "online": { "additionalProperties": false, "properties": { "notes": { "items": { "type": "string" }, "type": "array" }, "worthIt": { "description": "For an online shop with home delivery from each store: false when a store does not deliver, a share is under its minimum order, or the extra delivery costs more than the split saves; null when a delivery fee is unknown.", "type": [ "boolean", "null" ] } }, "required": [ "worthIt", "notes" ], "type": "object" }, "saving": { "type": "string" }, "savingPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "stores": { "items": { "type": "string" }, "type": "array" }, "total": { "type": "string" }, "totalPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "stores", "totalPence", "total", "savingPence", "saving", "itemsPriced", "online" ], "type": "object" }, { "type": "null" } ] }, "stores": { "items": { "additionalProperties": false, "properties": { "homeDelivery": { "description": "false: in store only; null: not known", "type": [ "boolean", "null" ] }, "itemsPriced": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "missingProductIds": { "items": { "type": "string" }, "type": "array" }, "onlineNotes": { "items": { "type": "string" }, "type": "array" }, "store": { "type": "string" }, "swaps": { "description": "The store's own equivalent of a basket product it does not sell, priced in its total", "items": { "additionalProperties": false, "properties": { "forProductId": { "type": "string" }, "linePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "name": { "type": "string" }, "productId": { "type": "string" }, "size": { "type": "string" } }, "required": [ "forProductId", "productId", "name", "size", "linePence" ], "type": "object" }, "type": "array" }, "total": { "type": "string" }, "totalPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "store", "totalPence", "total", "itemsPriced", "missingProductIds", "swaps", "homeDelivery", "onlineNotes" ], "type": "object" }, "type": "array" } }, "required": [ "itemCount", "bestSingleStore", "stores", "split", "pausedStores" ], "type": "object" } }, { "description": "Watch a brand or a keyword on the user's MyGroceryPal account, so they hear when a matching product goes on offer. Needs the user's MyGroceryPal account.", "inputSchema": { "additionalProperties": false, "properties": { "kind": { "description": "'brand' follows every product of one brand; 'keyword' matches product names", "enum": [ "keyword", "brand" ], "type": "string" }, "minSavingsPercent": { "anyOf": [ { "const": 5, "type": "number" }, { "const": 10, "type": "number" }, { "const": 15, "type": "number" }, { "const": 20, "type": "number" }, { "const": 30, "type": "number" } ], "description": "Smallest saving worth an alert, in percent. Defaults to 15." }, "term": { "description": "The brand name or keyword, e.g. 'Cadbury' or 'oat milk'", "maxLength": 60, "minLength": 2, "type": "string" } }, "required": [ "kind", "term" ], "type": "object" }, "name": "create_deal_alert", "outputSchema": { "properties": { "kind": { "enum": [ "keyword", "brand" ], "type": "string" }, "minSavingsPercent": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "term": { "type": "string" } }, "required": [ "kind", "term", "minSavingsPercent" ], "type": "object" } }, { "description": "Make a link to a MyGroceryPal page that prices a shopping list at every UK supermarket, with each store's total, links to buy at each store, and a button to save the list to a MyGroceryPal account. Needs no sign-in and stores nothing. Up to 40 lines; pin a productId on a line to keep the exact product the user chose. Give the user the url when they want to see the list, share it, or shop from it.", "inputSchema": { "additionalProperties": false, "properties": { "items": { "items": { "properties": { "name": { "description": "One shopping list line, e.g. 'semi-skimmed milk'", "maxLength": 100, "minLength": 1, "pattern": "^[^\\r\\n]+$", "type": "string" }, "productId": { "description": "Pin this exact product, a productId from search_grocery_prices or price_shopping_list. Leave out to let the page pick the best match.", "pattern": "^[A-Za-z0-9_-]{1,200}$", "type": "string" }, "quantity": { "description": "How many to buy. Defaults to 1.", "maximum": 99, "minimum": 1, "type": "integer" } }, "required": [ "name" ], "type": "object" }, "maxItems": 40, "minItems": 1, "type": "array" } }, "required": [ "items" ], "type": "object" }, "name": "create_list_page", "outputSchema": { "properties": { "itemCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "url": { "type": "string" } }, "required": [ "url", "itemCount" ], "type": "object" } }, { "description": "For a shopping list or basket of up to 40 items and ONE store, find the cheapest acceptable swap for each item at that same store: own brand or value ranges, other brands, and other pack sizes compared per unit. Every swap is labelled same_product, equivalent or different (cheaper but not like-for-like): offer different ones to the user to choose, never as a given. Use this when the user wants to stay at their store but spend less, instead of comparing items by hand. End the answer with listPageUrl: it opens the list with the like-for-like swaps taken, priced at every store on MyGroceryPal, where the user can save it.", "inputSchema": { "additionalProperties": false, "properties": { "items": { "items": { "properties": { "name": { "description": "A shopping list line in plain words, e.g. 'Heinz baked beans 415g'. Give this or productId.", "maxLength": 100, "minLength": 1, "type": "string" }, "productId": { "description": "A productId from search_grocery_prices. Give this or name.", "maxLength": 128, "minLength": 1, "type": "string" }, "quantity": { "maximum": 99, "minimum": 1, "type": "integer" } }, "type": "object" }, "maxItems": 40, "minItems": 1, "type": "array" }, "store": { "description": "The one store the user shops at.", "enum": [ "tesco", "sainsburys", "asda", "aldi", "morrisons", "coop", "waitrose", "iceland", "bm", "boots", "superdrug", "savers", "ocado" ], "type": "string" } }, "required": [ "store", "items" ], "type": "object" }, "name": "find_cheaper_swaps", "outputSchema": { "properties": { "complete": { "type": "boolean" }, "equivalentSaving": { "type": "string" }, "equivalentSavingPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "largestSaving": { "type": "string" }, "largestSavingPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "lines": { "items": { "additionalProperties": false, "properties": { "current": { "anyOf": [ { "additionalProperties": false, "properties": { "brand": { "type": [ "string", "null" ] }, "linePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "name": { "type": "string" }, "price": { "type": "string" }, "pricePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "productId": { "type": "string" }, "productUrl": { "type": "string" }, "size": { "type": "string" }, "storeUrl": { "type": "string" } }, "required": [ "productId", "name", "brand", "size", "pricePence", "price", "linePence", "productUrl", "storeUrl" ], "type": "object" }, { "type": "null" } ] }, "name": { "type": "string" }, "quantity": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "status": { "enum": [ "swap", "already_cheapest", "not_found", "not_sold_here", "not_checked" ], "type": "string" }, "swaps": { "items": { "additionalProperties": false, "properties": { "brand": { "type": [ "string", "null" ] }, "differences": { "description": "How the swap differs; never empty for a different swap.", "items": { "type": "string" }, "type": "array" }, "label": { "description": "same_product: the same product in another pack; equivalent: the same kind of product, size and attributes, usually own brand; different: cheaper but not like-for-like, let the user decide.", "enum": [ "same_product", "equivalent", "different" ], "type": "string" }, "linePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "name": { "type": "string" }, "price": { "type": "string" }, "pricePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "productId": { "type": "string" }, "productUrl": { "type": "string" }, "saving": { "type": "string" }, "savingBasis": { "description": "same_amount: the saving buys the current amount, a smaller pack scaled up; shelf_price: the difference in shelf price, the swap being at least as big.", "enum": [ "same_amount", "shelf_price" ], "type": "string" }, "savingPence": { "description": "Against the current line for the same amount: a smaller pack is scaled up to the current pack before comparing.", "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "shelfSaving": { "type": "string" }, "shelfSavingPence": { "description": "The current line's shelf price less the swap's.", "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "size": { "type": "string" }, "storeUrl": { "type": "string" } }, "required": [ "productId", "name", "brand", "size", "pricePence", "price", "linePence", "productUrl", "storeUrl", "label", "savingPence", "saving", "savingBasis", "shelfSavingPence", "shelfSaving", "differences" ], "type": "object" }, "type": "array" } }, "required": [ "name", "quantity", "status", "current", "swaps" ], "type": "object" }, "type": "array" }, "listPageUrl": { "description": "Opens these products on mygrocerypal.co.uk, with the same-product and equivalent swaps taken, priced at every store, where the user can save the list.", "type": [ "string", "null" ] }, "store": { "type": "string" }, "total": { "type": "string" }, "totalPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "store", "totalPence", "total", "equivalentSavingPence", "equivalentSaving", "largestSavingPence", "largestSaving", "complete", "lines", "listPageUrl" ], "type": "object" } }, { "description": "Nutrition per 100g or 100ml (energy, fat, saturates, carbohydrates, sugars, fibre, protein, salt) and the Nutri-Score grade for one product, from Open Food Facts. Many products have none. Credit Open Food Facts when you use these numbers.", "inputSchema": { "additionalProperties": false, "properties": { "productId": { "description": "A productId returned by search_grocery_prices", "pattern": "^[a-zA-Z0-9_-]{1,128}$", "type": "string" } }, "required": [ "productId" ], "type": "object" }, "name": "get_nutrition", "outputSchema": { "properties": { "basis": { "anyOf": [ { "enum": [ "100g", "100ml" ], "type": "string" }, { "type": "null" } ] }, "found": { "type": "boolean" }, "nutriScore": { "type": [ "string", "null" ] }, "per100": { "anyOf": [ { "additionalProperties": false, "properties": { "carbohydrates": { "type": [ "number", "null" ] }, "energyKcal": { "type": [ "number", "null" ] }, "energyKj": { "type": [ "number", "null" ] }, "fat": { "type": [ "number", "null" ] }, "fibre": { "type": [ "number", "null" ] }, "protein": { "type": [ "number", "null" ] }, "salt": { "type": [ "number", "null" ] }, "saturates": { "type": [ "number", "null" ] }, "sugars": { "type": [ "number", "null" ] } }, "required": [ "energyKcal", "energyKj", "fat", "saturates", "carbohydrates", "sugars", "fibre", "protein", "salt" ], "type": "object" }, { "type": "null" } ] }, "productId": { "type": "string" }, "productUrl": { "type": "string" }, "source": { "type": [ "string", "null" ] }, "sourceUrl": { "type": [ "string", "null" ] } }, "required": [ "productId", "productUrl", "found", "basis", "per100", "nutriScore", "source", "sourceUrl" ], "type": "object" } }, { "description": "Read the user's MyGroceryPal saved items and shopping list: each product's productId, quantity, whether it is on the shopping list, and its price at their chosen or cheapest store. Up to 100 products, shopping list first, newest first. Use the productIds with remove_saved_items or price tools. Needs the user's MyGroceryPal account.", "inputSchema": { "additionalProperties": false, "properties": { "onListOnly": { "description": "Only the products on the shopping list, leaving out ones that are only saved", "type": "boolean" } }, "type": "object" }, "name": "list_saved_items", "outputSchema": { "properties": { "items": { "items": { "additionalProperties": false, "properties": { "brand": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "onList": { "type": "boolean" }, "price": { "type": [ "string", "null" ] }, "pricePence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "productId": { "type": "string" }, "productUrl": { "type": "string" }, "quantity": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "size": { "type": "string" }, "store": { "type": [ "string", "null" ] } }, "required": [ "productId", "name", "brand", "size", "onList", "quantity", "store", "pricePence", "price", "productUrl" ], "type": "object" }, "type": "array" }, "onListCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "savedListUrl": { "type": "string" }, "totalCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "truncated": { "type": "boolean" } }, "required": [ "items", "totalCount", "onListCount", "truncated", "savedListUrl" ], "type": "object" } }, { "description": "Price a whole shopping list or recipe in one call: up to 40 lines in plain words. Matches each line at each store separately, then totals the list at one named store, or finds the cheapest single store and any cheaper split across two or three stores. Each priced line has a storeUrl that opens the product at that store: give the user these links when they want to buy. Each line's label says how the product compares with the line: same_product, equivalent, or different (a closest match the user should check). Store totals cover only the lines that store prices like-for-like: each says itemsPriced, missingLines, closeMatchLines (closest matches, in no total) and complete, so never present a partial total as the full shop; sharedLines compares the leading stores on the lines they all price. Stores in pausedStores are in no total. Lines in unmatched are in no total; close_match_only lines carry candidates to offer the user. End the answer with listPageUrl: it opens this list priced at every store on MyGroceryPal, where the user can save it. Or offer to save the list to their MyGroceryPal account with save_shopping_list.", "inputSchema": { "additionalProperties": false, "properties": { "items": { "items": { "properties": { "name": { "description": "One shopping list line, e.g. 'chicken breast 500g' or 'semi-skimmed milk'", "maxLength": 100, "minLength": 1, "type": "string" }, "quantity": { "description": "How many to buy. Defaults to 1.", "maximum": 99, "minimum": 1, "type": "integer" } }, "required": [ "name" ], "type": "object" }, "maxItems": 40, "minItems": 1, "type": "array" }, "store": { "description": "Price the whole list at this one store. Leave it out to find the cheapest store, or a cheaper split across two or three stores.", "enum": [ "tesco", "sainsburys", "asda", "aldi", "morrisons", "coop", "waitrose", "iceland", "bm", "boots", "superdrug", "savers", "ocado" ], "type": "string" } }, "required": [ "items" ], "type": "object" }, "name": "price_shopping_list", "outputSchema": { "properties": { "bestSingleStore": { "anyOf": [ { "additionalProperties": false, "properties": { "closeMatchLines": { "description": "Lines this store has only a closest match for, so in no total.", "items": { "type": "string" }, "type": "array" }, "complete": { "type": "boolean" }, "itemsMissing": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "itemsPriced": { "description": "Lines priced on the same or an equivalent product.", "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "missingLines": { "items": { "type": "string" }, "type": "array" }, "store": { "type": "string" }, "total": { "type": "string" }, "totalPence": { "description": "The like-for-like lines only: closest matches are left out.", "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "store", "totalPence", "total", "itemsPriced", "itemsMissing", "missingLines", "closeMatchLines", "complete" ], "type": "object" }, { "type": "null" } ] }, "lineCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "lines": { "items": { "additionalProperties": false, "properties": { "closeMatchOnly": { "type": "boolean" }, "label": { "anyOf": [ { "enum": [ "same_product", "equivalent", "different" ], "type": "string" }, { "type": "null" } ], "description": "How the bought product relates to the line: same_product, equivalent, or different (a closest match the user should check)." }, "linePence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "name": { "type": "string" }, "price": { "type": [ "string", "null" ] }, "pricePence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "product": { "anyOf": [ { "additionalProperties": false, "properties": { "brand": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "productId": { "type": "string" }, "productUrl": { "type": "string" }, "size": { "type": "string" } }, "required": [ "productId", "name", "brand", "size", "productUrl" ], "type": "object" }, { "type": "null" } ] }, "quantity": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "store": { "type": [ "string", "null" ] }, "storeUrl": { "type": [ "string", "null" ] }, "swapped": { "type": "boolean" } }, "required": [ "name", "quantity", "product", "closeMatchOnly", "swapped", "label", "store", "pricePence", "price", "linePence", "storeUrl" ], "type": "object" }, "type": "array" }, "listPageUrl": { "description": "Opens this list on mygrocerypal.co.uk, priced at every store, where the user can save it.", "type": [ "string", "null" ] }, "pausedStores": { "description": "Stores whose price checks are paused: their prices are left out of every total here.", "items": { "additionalProperties": false, "properties": { "pausedSince": { "type": "string" }, "store": { "type": "string" } }, "required": [ "store", "pausedSince" ], "type": "object" }, "type": "array" }, "productCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "sharedLines": { "anyOf": [ { "additionalProperties": false, "properties": { "lineCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "stores": { "items": { "additionalProperties": false, "properties": { "store": { "type": "string" }, "total": { "type": "string" }, "totalPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "store", "totalPence", "total" ], "type": "object" }, "type": "array" } }, "required": [ "lineCount", "stores" ], "type": "object" }, { "type": "null" } ], "description": "The top stores compared on only the lines every one of them prices like-for-like." }, "split": { "anyOf": [ { "additionalProperties": false, "properties": { "itemsPriced": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "online": { "additionalProperties": false, "properties": { "notes": { "items": { "type": "string" }, "type": "array" }, "worthIt": { "description": "For an online shop with home delivery from each store: false when a store does not deliver, a share is under its minimum order, or the extra delivery costs more than the split saves; null when a delivery fee is unknown.", "type": [ "boolean", "null" ] } }, "required": [ "worthIt", "notes" ], "type": "object" }, "saving": { "type": "string" }, "savingPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "stores": { "items": { "type": "string" }, "type": "array" }, "total": { "type": "string" }, "totalPence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "stores", "totalPence", "total", "savingPence", "saving", "itemsPriced", "online" ], "type": "object" }, { "type": "null" } ] }, "store": { "type": [ "string", "null" ] }, "stores": { "items": { "additionalProperties": false, "properties": { "closeMatchLines": { "description": "Lines this store has only a closest match for, so in no total.", "items": { "type": "string" }, "type": "array" }, "complete": { "type": "boolean" }, "itemsMissing": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "itemsPriced": { "description": "Lines priced on the same or an equivalent product.", "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "missingLines": { "items": { "type": "string" }, "type": "array" }, "store": { "type": "string" }, "total": { "type": "string" }, "totalPence": { "description": "The like-for-like lines only: closest matches are left out.", "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "store", "totalPence", "total", "itemsPriced", "itemsMissing", "missingLines", "closeMatchLines", "complete" ], "type": "object" }, "type": "array" }, "unmatched": { "items": { "additionalProperties": false, "properties": { "candidates": { "items": { "additionalProperties": false, "properties": { "name": { "type": "string" }, "productId": { "type": "string" }, "size": { "type": "string" } }, "required": [ "productId", "name", "size" ], "type": "object" }, "type": "array" }, "name": { "type": "string" }, "reason": { "enum": [ "no_match", "close_match_only" ], "type": "string" } }, "required": [ "name", "reason", "candidates" ], "type": "object" }, "type": "array" } }, "required": [ "store", "productCount", "lineCount", "bestSingleStore", "split", "stores", "sharedLines", "pausedStores", "lines", "unmatched", "listPageUrl" ], "type": "object" } }, { "description": "Remove products from the user's MyGroceryPal shopping list, or delete them from their saved items altogether. Takes productIds from list_saved_items. Confirm with the user before removing. Safe to repeat: products already gone are reported in notFoundProductIds and nothing else changes. Needs the user's MyGroceryPal account.", "inputSchema": { "additionalProperties": false, "properties": { "from": { "description": "'list' takes the products off the shopping list but keeps them saved, with their deal alerts; 'saved' deletes them from the account entirely, list included", "enum": [ "list", "saved" ], "type": "string" }, "productIds": { "items": { "description": "A productId from list_saved_items", "maxLength": 200, "minLength": 1, "type": "string" }, "maxItems": 40, "minItems": 1, "type": "array" } }, "required": [ "productIds", "from" ], "type": "object" }, "name": "remove_saved_items", "outputSchema": { "properties": { "from": { "enum": [ "list", "saved" ], "type": "string" }, "notFoundProductIds": { "items": { "type": "string" }, "type": "array" }, "removed": { "items": { "additionalProperties": false, "properties": { "name": { "type": "string" }, "productId": { "type": "string" } }, "required": [ "productId", "name" ], "type": "object" }, "type": "array" }, "savedListUrl": { "type": "string" } }, "required": [ "from", "removed", "notFoundProductIds", "savedListUrl" ], "type": "object" } }, { "description": "Add products to the user's MyGroceryPal shopping list, so they can open it in the app or on the web, and get deal alerts on saved products the way their MyGroceryPal notification settings say. Only adds: a product already on the list is left as it is. Needs the user's MyGroceryPal account.", "inputSchema": { "additionalProperties": false, "properties": { "items": { "items": { "properties": { "productId": { "description": "A productId returned by price_shopping_list or search_grocery_prices", "maxLength": 200, "minLength": 1, "type": "string" }, "quantity": { "maximum": 99, "minimum": 1, "type": "integer" } }, "required": [ "productId" ], "type": "object" }, "maxItems": 40, "minItems": 1, "type": "array" }, "store": { "description": "The store the user plans to buy these at, if one", "enum": [ "tesco", "sainsburys", "asda", "aldi", "morrisons", "coop", "waitrose", "iceland", "bm", "boots", "superdrug", "savers", "ocado" ], "type": "string" } }, "required": [ "items" ], "type": "object" }, "name": "save_shopping_list", "outputSchema": { "properties": { "added": { "items": { "additionalProperties": false, "properties": { "name": { "type": "string" }, "productId": { "type": "string" } }, "required": [ "productId", "name" ], "type": "object" }, "type": "array" }, "addedCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "alreadyOnList": { "items": { "additionalProperties": false, "properties": { "name": { "type": "string" }, "productId": { "type": "string" } }, "required": [ "productId", "name" ], "type": "object" }, "type": "array" }, "alreadyOnListCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "listCount": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "notFoundProductIds": { "items": { "type": "string" }, "type": "array" }, "savedListUrl": { "type": "string" } }, "required": [ "addedCount", "alreadyOnListCount", "notFoundProductIds", "savedListUrl", "added", "alreadyOnList", "listCount" ], "type": "object" } }, { "description": "Find grocery products and their current price at every UK supermarket MyGroceryPal tracks, cheapest store first, the same results shoppers see on mygrocerypal.co.uk. Narrow with brands, stores, ownBrandOnly, onOfferOnly, category and diet (high-protein, low-sugar, high-fibre, low-fat, vegetarian); sort by unit_price to compare pack sizes, or biggest_saving for deals. Returns 5 products unless limit says otherwise, with totalHits and a nextCursor for the next page. A loyaltyCard price needs that card (Clubcard, Nectar and so on). Each price has a storeUrl that opens that store's product page: give the user these links, not ones you build, when they want to buy. For a list or a recipe, call price_shopping_list once instead.", "inputSchema": { "additionalProperties": false, "properties": { "brands": { "description": "Only these brands, spelt as the brand field of earlier results shows them, e.g. ['Heinz', 'Branston']", "items": { "maxLength": 100, "minLength": 1, "type": "string" }, "maxItems": 10, "type": "array" }, "category": { "description": "Only this aisle", "enum": [ "Meat, Poultry & Seafood", "Frozen Foods", "Drinks & Beverages", "Snacks & Candy", "Dairy & Milk Alternatives", "Fruits & Vegetables", "Bread & Baked Goods", "Ready Meals", "Cooking Ingredients", "Grains & Cereals", "Home & Household", "Personal Care", "Health & Supplements", "Baby & Toddler", "Plant-Based", "World Foods", "Pet Care", "Books & Media", "Toys & Games", "Clothing & Accessories", "Electricals & Tech", "Uncategorised" ], "type": "string" }, "cursor": { "description": "nextCursor from the previous page, to get the next one", "maxLength": 1291, "minLength": 1, "type": "string" }, "diet": { "description": "Only products carrying every one of these labels. The nutrition labels apply UK claim thresholds to Open Food Facts per-100g or per-100ml data (Open Database Licence) and skip products without it; vegetarian is a conservative match. Neither is a certified claim.", "items": { "enum": [ "vegetarian", "high-protein", "low-sugar", "high-fibre", "low-fat" ], "type": "string" }, "maxItems": 5, "minItems": 1, "type": "array" }, "limit": { "description": "Products per page, 5 by default, at most 20. Keep it the same when paging.", "maximum": 20, "minimum": 1, "type": "integer" }, "onOfferOnly": { "description": "Only products on offer, loyalty prices included", "type": "boolean" }, "ownBrandOnly": { "description": "Only the supermarkets' own brands (Tesco, Sainsbury's, Aldi and so on), limited to the stores given", "type": "boolean" }, "query": { "description": "What to look for, e.g. 'Heinz baked beans 415g' or 'oat milk'. Needed unless brands, category or ownBrandOnly narrow the search.", "maxLength": 200, "minLength": 1, "pattern": "[\\p{L}\\p{N}]", "type": "string" }, "sort": { "description": "relevance (default); unit_price, cheapest per kg, litre or item first, for comparing pack sizes; price, cheapest pack first; biggest_saving, largest discount first", "enum": [ "relevance", "unit_price", "price", "biggest_saving" ], "type": "string" }, "stores": { "description": "Only products sold at these stores, and only their prices. Leave out for every store.", "items": { "enum": [ "tesco", "sainsburys", "asda", "aldi", "morrisons", "coop", "waitrose", "iceland", "bm", "boots", "superdrug", "savers", "ocado" ], "type": "string" }, "maxItems": 13, "minItems": 1, "type": "array" } }, "type": "object" }, "name": "search_grocery_prices", "outputSchema": { "properties": { "nextCursor": { "type": [ "string", "null" ] }, "products": { "items": { "additionalProperties": false, "properties": { "brand": { "type": [ "string", "null" ] }, "cheapestPrice": { "type": "string" }, "cheapestPricePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "cheapestStore": { "type": "string" }, "name": { "type": "string" }, "prices": { "items": { "additionalProperties": false, "properties": { "loyaltyCard": { "type": [ "string", "null" ] }, "offer": { "type": [ "string", "null" ] }, "price": { "type": "string" }, "pricePence": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "regularPricePence": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "store": { "type": "string" }, "storeName": { "type": "string" }, "storeUrl": { "type": "string" }, "unitPrice": { "type": [ "string", "null" ] } }, "required": [ "store", "storeName", "pricePence", "price", "regularPricePence", "offer", "loyaltyCard", "unitPrice", "storeUrl" ], "type": "object" }, "type": "array" }, "productId": { "type": "string" }, "productUrl": { "type": "string" }, "size": { "type": "string" } }, "required": [ "productId", "name", "brand", "size", "cheapestStore", "cheapestPricePence", "cheapestPrice", "productUrl", "prices" ], "type": "object" }, "type": "array" }, "query": { "type": "string" }, "suggestedCategory": { "anyOf": [ { "enum": [ "Meat, Poultry & Seafood", "Frozen Foods", "Drinks & Beverages", "Snacks & Candy", "Dairy & Milk Alternatives", "Fruits & Vegetables", "Bread & Baked Goods", "Ready Meals", "Cooking Ingredients", "Grains & Cereals", "Home & Household", "Personal Care", "Health & Supplements", "Baby & Toddler", "Plant-Based", "World Foods", "Pet Care", "Books & Media", "Toys & Games", "Clothing & Accessories", "Electricals & Tech", "Uncategorised" ], "type": "string" }, { "type": "null" } ], "description": "The aisle most of the query's best matches sit in: pass it as category to drop matches from other aisles" }, "totalHits": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "query", "products", "totalHits", "nextCursor", "suggestedCategory" ], "type": "object" } } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:e80ff5cacaf6920c651793ce62db9684a931895de56b536e1a54f1a18d510c48 | sha256sum