MyGroceryPal is an MCP server published by uk.co.mygrocerypal, hosted at mygrocerypal.co.uk. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 9 tools, including search_grocery_prices, price_shopping_list, check_price_history, get_nutrition, add_to_list.
UK supermarket prices across 13 stores: price items and lists, see history, save lists, set alerts.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Search UK supermarket prices for ONE product, cheapest store first, with the app's filters and sorts: brands, stores, ownBrandOnly, onOfferOnly, category, diet; sort by price, unit_price, biggest_saving. For a cheaper swap, search at the user's store sorted by price or unit_price. To buy, give the user each price's storeUrl, never a link you build. Two or more items or a recipe: call price_shopping_list once, never item by item.
| Parameter | Type | Description |
|---|---|---|
| diet | array | Products with every label: UK claim thresholds on Open Food Facts data (ODbL), not certified |
| sort | string | relevance (default); price: cheapest pack first; unit_price: cheapest per kg, litre or item; biggest_saving: largest £ off; biggest_saving_percent: largest % off (savings sorts show only offers); price_high, unit_price_high: dearest first |
| limit | integer |
Too large to show here.
Inferred from the host name and headers: what a server runs on, not who runs it.
| 5 by default; keep it when paging |
| query | string | e.g. 'Heinz baked beans 415g'. Optional with brands, category or ownBrandOnly. |
| brands | array | Spelt as earlier results' brand field, e.g. ['Heinz'] |
| cursor | string | nextCursor of the previous page |
| stores | array | Only these stores' products and prices |
| category | string | Only this aisle |
| onOfferOnly | boolean | Only products on offer, loyalty prices included |
| ownBrandOnly | boolean | Only supermarket own brands, at the stores given |
{
"name": "search_grocery_prices",
"title": "Search UK grocery prices",
"description": "Search UK supermarket prices for ONE product, cheapest store first, with the app's filters and sorts: brands, stores, ownBrandOnly, onOfferOnly, category, diet; sort by price, unit_price, biggest_saving. For a cheaper swap, search at the user's store sorted by price or unit_price. To buy, give the user each price's storeUrl, never a link you build. Two or more items or a recipe: call price_shopping_list once, never item by item.",
"inputSchema": {
"type": "object",
"properties": {
"diet": {
"type": "array",
"items": {
"enum": [
"vegetarian",
"high-protein",
"low-sugar",
"high-fibre",
"low-fat"
],
"type": "string"
},
"maxItems": 5,
"minItems": 1,
"description": "Products with every label: UK claim thresholds on Open Food Facts data (ODbL), not certified"
},
"sort": {
"enum": [
"relevance",
"unit_price",
"price",
"biggest_saving",
"biggest_saving_percent",
"price_high",
"unit_price_high"
],
"type": "string",
"description": "relevance (default); price: cheapest pack first; unit_price: cheapest per kg, litre or item; biggest_saving: largest £ off; biggest_saving_percent: largest % off (savings sorts show only offers); price_high, unit_price_high: dearest first"
},
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "5 by default; keep it when paging"
},
"query": {
"type": "string",
"pattern": "[\\p{L}\\p{N}]",
"maxLength": 200,
"minLength": 1,
"description": "e.g. 'Heinz baked beans 415g'. Optional with brands, category or ownBrandOnly."
},
"brands": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 10,
"description": "Spelt as earlier results' brand field, e.g. ['Heinz']"
},
"cursor": {
"type": "string",
"maxLength": 1291,
"minLength": 1,
"description": "nextCursor of the previous page"
},
"stores": {
"type": "array",
"items": {
"enum": [
"tesco",
"sainsburys",
"asda",
"aldi",
"morrisons",
"coop",
"waitrose",
"iceland",
"bm",
"boots",
"superdrug",
"savers",
"ocado"
],
"type": "string"
},
"maxItems": 13,
"minItems": 1,
"description": "Only these stores' products and prices"
},
"category": {
"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",
"description": "Only this aisle"
},
"onOfferOnly": {
"type": "boolean",
"description": "Only products on offer, loyalty prices included"
},
"ownBrandOnly": {
"type": "boolean",
"description": "Only supermarket own brands, at the stores given"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"query",
"products",
"totalHits",
"nextCursor",
"suggestedCategory"
],
"properties": {
"query": {
"type": "string"
},
"products": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId",
"name",
"brand",
"ownBrand",
"size",
"cheapestStore",
"cheapestPricePence",
"cheapestPrice",
"productUrl",
"prices"
],
"properties": {
"name": {
"type": "string"
},
"size": {
"type": "string"
},
"brand": {
"type": [
"string",
"null"
]
},
"prices": {
"type": "array",
"items": {
"type": "object",
"required": [
"store",
"storeName",
"pricePence",
"price",
"regularPricePence",
"offer",
"loyaltyCard",
"unitPrice",
"storeUrl"
],
"properties": {
"offer": {
"type": [
"string",
"null"
]
},
"price": {
"type": "string"
},
"store": {
"type": "string"
},
"storeUrl": {
"type": "string"
},
"storeName": {
"type": "string"
},
"unitPrice": {
"type": [
"string",
"null"
]
},
"pricePence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"loyaltyCard": {
"type": [
"string",
"null"
]
},
"regularPricePence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"ownBrand": {
"type": "boolean",
"description": "A supermarket's own brand; skip these for a brand-only ask."
},
"productId": {
"type": "string"
},
"productUrl": {
"type": "string"
},
"cheapestPrice": {
"type": "string"
},
"cheapestStore": {
"type": "string"
},
"cheapestPricePence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}
},
"totalHits": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"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"
}
}
},
"annotations": {
"title": "Search UK grocery prices",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Price two or more items, a shopping list or a recipe in one call, never item by item. Up to 40 plain-words lines: the cheapest store that stocks every line, or at one store, and any cheaper two- or three-store split. A store missing lines says N of M items and is never ranked with full ones. End with listPageUrl, or offer add_to_list.
| Parameter | Type | Description |
|---|---|---|
| items * | array | |
| store | string | Only this store; leave out for the cheapest store or split |
{
"name": "price_shopping_list",
"title": "Price a shopping list",
"description": "Price two or more items, a shopping list or a recipe in one call, never item by item. Up to 40 plain-words lines: the cheapest store that stocks every line, or at one store, and any cheaper two- or three-store split. A store missing lines says N of M items and is never ranked with full ones. End with listPageUrl, or offer add_to_list.",
"inputSchema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "e.g. 'chicken breast 500g'"
},
"quantity": {
"type": "integer",
"maximum": 99,
"minimum": 1,
"description": "How many to buy. Defaults to 1."
}
}
},
"maxItems": 40,
"minItems": 1
},
"store": {
"enum": [
"tesco",
"sainsburys",
"asda",
"aldi",
"morrisons",
"coop",
"waitrose",
"iceland",
"bm",
"boots",
"superdrug",
"savers",
"ocado"
],
"type": "string",
"description": "Only this store; leave out for the cheapest store or split"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"store",
"productCount",
"lineCount",
"bestSingleStore",
"split",
"stores",
"pausedStores",
"lines",
"unmatched",
"listPageUrl"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"quantity",
"product",
"closeMatchOnly",
"swapped",
"label",
"store",
"pricePence",
"price",
"linePence",
"storeUrl"
],
"properties": {
"name": {
"type": "string"
},
"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)."
},
"price": {
"type": [
"string",
"null"
]
},
"store": {
"type": [
"string",
"null"
]
},
"product": {
"anyOf": [
{
"type": "object",
"required": [
"productId",
"name",
"brand",
"size",
"productUrl"
],
"properties": {
"name": {
"type": "string"
},
"size": {
"type": "string"
},
"brand": {
"type": [
"string",
"null"
]
},
"productId": {
"type": "string"
},
"productUrl": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"swapped": {
"type": "boolean"
},
"quantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"storeUrl": {
"type": [
"string",
"null"
]
},
"linePence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"pricePence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"closeMatchOnly": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"split": {
"anyOf": [
{
"type": "object",
"required": [
"stores",
"totalPence",
"total",
"sameAmountTotalPence",
"sameAmountTotal",
"savingPence",
"saving",
"itemsPriced",
"online"
],
"properties": {
"total": {
"type": "string"
},
"online": {
"type": "object",
"required": [
"worthIt",
"notes"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"worthIt": {
"type": [
"boolean",
"null"
],
"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."
}
},
"additionalProperties": false
},
"saving": {
"type": "string"
},
"stores": {
"type": "array",
"items": {
"type": "string"
}
},
"totalPence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"itemsPriced": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"savingPence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"sameAmountTotal": {
"type": [
"string",
"null"
]
},
"sameAmountTotalPence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"store": {
"type": [
"string",
"null"
]
},
"stores": {
"type": "array",
"items": {
"type": "object",
"required": [
"store",
"totalPence",
"total",
"sameAmountTotalPence",
"sameAmountTotal",
"itemsPriced",
"itemsMissing",
"missingLines",
"closeMatchLines",
"complete"
],
"properties": {
"store": {
"type": "string"
},
"total": {
"type": "string"
},
"complete": {
"type": "boolean",
"description": "Prices every line on the list. false: say N of M items."
},
"totalPence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Covers only the itemsPriced lines. Compare totals of stores with the same itemsPriced."
},
"itemsPriced": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"itemsMissing": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"missingLines": {
"type": "array",
"items": {
"type": "string"
}
},
"closeMatchLines": {
"type": "array",
"items": {
"type": "string"
},
"description": "Lines priced at this store on a closest match, a different product to check, included in the total."
},
"sameAmountTotal": {
"type": [
"string",
"null"
]
},
"sameAmountTotalPence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
],
"description": "What these lines cost for the amount asked for, when a smaller pack makes the total cheaper than it looks. Stores are ranked on this."
}
},
"additionalProperties": false
}
},
"lineCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"unmatched": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"reason",
"candidates"
],
"properties": {
"name": {
"type": "string"
},
"reason": {
"enum": [
"no_match",
"close_match_only"
],
"type": "string"
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId",
"name",
"size"
],
"properties": {
"name": {
"type": "string"
},
"size": {
"type": "string"
},
"productId": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"listPageUrl": {
"type": [
"string",
"null"
],
"description": "Opens this list on mygrocerypal.co.uk, priced at every store, where the user can save it."
},
"pausedStores": {
"type": "array",
"items": {
"type": "object",
"required": [
"store",
"pausedSince"
],
"properties": {
"store": {
"type": "string"
},
"pausedSince": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "Stores whose price checks are paused: their prices are left out of every total here."
},
"productCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"bestSingleStore": {
"anyOf": [
{
"type": "object",
"required": [
"store",
"totalPence",
"total",
"sameAmountTotalPence",
"sameAmountTotal",
"itemsPriced",
"itemsMissing",
"missingLines",
"closeMatchLines",
"complete"
],
"properties": {
"store": {
"type": "string"
},
"total": {
"type": "string"
},
"complete": {
"type": "boolean",
"description": "Prices every line on the list. false: say N of M items."
},
"totalPence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Covers only the itemsPriced lines. Compare totals of stores with the same itemsPriced."
},
"itemsPriced": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"itemsMissing": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"missingLines": {
"type": "array",
"items": {
"type": "string"
}
},
"closeMatchLines": {
"type": "array",
"items": {
"type": "string"
},
"description": "Lines priced at this store on a closest match, a different product to check, included in the total."
},
"sameAmountTotal": {
"type": [
"string",
"null"
]
},
"sameAmountTotalPence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
],
"description": "What these lines cost for the amount asked for, when a smaller pack makes the total cheaper than it looks. Stores are ranked on this."
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
}
},
"annotations": {
"title": "Price a shopping list",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Whether each product's cheapest price is a good deal: 60-day low, high, typical price and a verdict. Check a whole basket in one call. With one product and a date, e.g. a receipt's, also each store's price that day; paidPence compares what the user paid. History starts late July 2025; dates over 90 days back need a MyGroceryPal account.
| Parameter | Type | Description |
|---|---|---|
| date | string | YYYY-MM-DD, one product only |
| paidPence | integer | With date: pence paid for one |
| productId | string | One productId; productIds takes several |
| productIds | array | From search_grocery_prices |
{
"name": "check_price_history",
"title": "Check a product's price history",
"description": "Whether each product's cheapest price is a good deal: 60-day low, high, typical price and a verdict. Check a whole basket in one call. With one product and a date, e.g. a receipt's, also each store's price that day; paidPence compares what the user paid. History starts late July 2025; dates over 90 days back need a MyGroceryPal account.",
"inputSchema": {
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD, one product only"
},
"paidPence": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "With date: pence paid for one"
},
"productId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
"description": "One productId; productIds takes several"
},
"productIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,128}$"
},
"maxItems": 40,
"minItems": 1,
"description": "From search_grocery_prices"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"products",
"unknownProductIds",
"notCheckedProductIds"
],
"properties": {
"products": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId",
"name",
"brand",
"productUrl",
"onSale",
"cheapestStore",
"currentPricePence",
"currentPrice",
"low60dPence",
"high60dPence",
"typicalPricePence",
"verdict",
"onDate"
],
"properties": {
"name": {
"type": "string"
},
"brand": {
"type": [
"string",
"null"
]
},
"onDate": {
"anyOf": [
{
"type": "object",
"required": [
"date",
"historyStartsOn",
"stores",
"storesWithoutPrice",
"allStoresCovered",
"cheapestStore",
"cheapestPricePence",
"paid"
],
"properties": {
"date": {
"type": "string"
},
"paid": {
"anyOf": [
{
"type": "object",
"required": [
"paidPence",
"cheapestPence",
"differencePence",
"verdict"
],
"properties": {
"verdict": {
"enum": [
"paid_the_lowest",
"paid_more",
"paid_less"
],
"type": "string"
},
"paidPence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"cheapestPence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"differencePence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"stores": {
"type": "array",
"items": {
"type": "object",
"required": [
"store",
"observedOn",
"exact",
"pricePence",
"price",
"regularPricePence",
"offer",
"loyaltyCard",
"fromPrice"
],
"properties": {
"exact": {
"type": "boolean"
},
"offer": {
"type": [
"string",
"null"
]
},
"price": {
"type": "string"
},
"store": {
"type": "string"
},
"fromPrice": {
"type": "boolean"
},
"observedOn": {
"type": "string"
},
"pricePence": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"loyaltyCard": {
"type": [
"string",
"null"
]
},
"regularPricePence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"cheapestStore": {
"type": [
"string",
"null"
]
},
"historyStartsOn": {
"type": [
"string",
"null"
]
},
"allStoresCovered": {
"type": "boolean"
},
"cheapestPricePence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"storesWithoutPrice": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"verdict": {
"anyOf": [
{
"enum": [
"cheapest_in_60_days",
"typical",
"higher_than_usual",
"not_enough_history"
],
"type": "string"
},
{
"type": "null"
}
]
},
"productId": {
"type": "string"
},
"productUrl": {
"type": "string"
},
"low60dPence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"currentPrice": {
"type": [
"string",
"null"
]
},
"high60dPence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"cheapestStore": {
"type": [
"string",
"null"
]
},
"currentPricePence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"typicalPricePence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"unknownProductIds": {
"type": "array",
"items": {
"type": "string"
}
},
"notCheckedProductIds": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Check a product's price history",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Nutrition per 100g or 100ml and Nutri-Score for one product, from Open Food Facts; many have none. Credit Open Food Facts.
| Parameter | Type | Description |
|---|---|---|
| productId * | string | From search_grocery_prices |
{
"name": "get_nutrition",
"title": "Get a product's nutrition",
"description": "Nutrition per 100g or 100ml and Nutri-Score for one product, from Open Food Facts; many have none. Credit Open Food Facts.",
"inputSchema": {
"type": "object",
"required": [
"productId"
],
"properties": {
"productId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
"description": "From search_grocery_prices"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"productId",
"productUrl",
"found",
"basis",
"per100",
"nutriScore",
"source",
"sourceUrl"
],
"properties": {
"basis": {
"anyOf": [
{
"enum": [
"100g",
"100ml"
],
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"per100": {
"anyOf": [
{
"type": "object",
"required": [
"energyKcal",
"energyKj",
"fat",
"saturates",
"carbohydrates",
"sugars",
"fibre",
"protein",
"salt"
],
"properties": {
"fat": {
"type": [
"number",
"null"
]
},
"salt": {
"type": [
"number",
"null"
]
},
"fibre": {
"type": [
"number",
"null"
]
},
"sugars": {
"type": [
"number",
"null"
]
},
"protein": {
"type": [
"number",
"null"
]
},
"energyKj": {
"type": [
"number",
"null"
]
},
"saturates": {
"type": [
"number",
"null"
]
},
"energyKcal": {
"type": [
"number",
"null"
]
},
"carbohydrates": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": [
"string",
"null"
]
},
"productId": {
"type": "string"
},
"sourceUrl": {
"type": [
"string",
"null"
]
},
"nutriScore": {
"type": [
"string",
"null"
]
},
"productUrl": {
"type": "string"
}
}
},
"annotations": {
"title": "Get a product's nutrition",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Add products to the user's MyGroceryPal shopping list, for the app, the web and deal alerts. Only adds. Needs a MyGroceryPal account.
| Parameter | Type | Description |
|---|---|---|
| items * | array | |
| store | string | Where the user will buy them |
{
"name": "add_to_list",
"title": "Add to my list",
"description": "Add products to the user's MyGroceryPal shopping list, for the app, the web and deal alerts. Only adds. Needs a MyGroceryPal account.",
"inputSchema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId"
],
"properties": {
"quantity": {
"type": "integer",
"maximum": 99,
"minimum": 1
},
"productId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "From price_shopping_list or search_grocery_prices"
}
}
},
"maxItems": 40,
"minItems": 1
},
"store": {
"enum": [
"tesco",
"sainsburys",
"asda",
"aldi",
"morrisons",
"coop",
"waitrose",
"iceland",
"bm",
"boots",
"superdrug",
"savers",
"ocado"
],
"type": "string",
"description": "Where the user will buy them"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"addedCount",
"alreadyOnListCount",
"notFoundProductIds",
"savedListUrl",
"added",
"alreadyOnList",
"listCount"
],
"properties": {
"added": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId",
"name"
],
"properties": {
"name": {
"type": "string"
},
"productId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"listCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"addedCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"savedListUrl": {
"type": "string"
},
"alreadyOnList": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId",
"name"
],
"properties": {
"name": {
"type": "string"
},
"productId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"alreadyOnListCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"notFoundProductIds": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Add to my list",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The user's MyGroceryPal saved items and shopping list, with productIds, quantities and prices. Needs a MyGroceryPal account.
| Parameter | Type | Description |
|---|---|---|
| onListOnly | boolean | Only shopping list items |
{
"name": "get_list",
"title": "Get my list",
"description": "The user's MyGroceryPal saved items and shopping list, with productIds, quantities and prices. Needs a MyGroceryPal account.",
"inputSchema": {
"type": "object",
"properties": {
"onListOnly": {
"type": "boolean",
"description": "Only shopping list items"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"items",
"totalCount",
"onListCount",
"truncated",
"savedListUrl"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId",
"name",
"brand",
"size",
"onList",
"tracked",
"quantity",
"store",
"pricePence",
"price",
"productUrl"
],
"properties": {
"name": {
"type": "string"
},
"size": {
"type": "string"
},
"brand": {
"type": [
"string",
"null"
]
},
"price": {
"type": [
"string",
"null"
]
},
"store": {
"type": [
"string",
"null"
]
},
"onList": {
"type": "boolean"
},
"tracked": {
"type": "boolean"
},
"quantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"productId": {
"type": "string"
},
"pricePence": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"productUrl": {
"type": "string"
}
},
"additionalProperties": false
}
},
"truncated": {
"type": "boolean"
},
"totalCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"onListCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"savedListUrl": {
"type": "string"
}
}
},
"annotations": {
"title": "Get my list",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Remove products from the user's MyGroceryPal shopping list or saved items, by productIds from get_list. Confirm with the user first. Needs a MyGroceryPal account.
| Parameter | Type | Description |
|---|---|---|
| from * | string | 'list' keeps them saved; 'saved' deletes them entirely |
| productIds * | array |
{
"name": "remove_from_list",
"title": "Remove items from my list",
"description": "Remove products from the user's MyGroceryPal shopping list or saved items, by productIds from get_list. Confirm with the user first. Needs a MyGroceryPal account.",
"inputSchema": {
"type": "object",
"required": [
"productIds",
"from"
],
"properties": {
"from": {
"enum": [
"list",
"saved"
],
"type": "string",
"description": "'list' keeps them saved; 'saved' deletes them entirely"
},
"productIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "From get_list"
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"from",
"removed",
"notFoundProductIds",
"savedListUrl"
],
"properties": {
"from": {
"enum": [
"list",
"saved"
],
"type": "string"
},
"removed": {
"type": "array",
"items": {
"type": "object",
"required": [
"productId",
"name"
],
"properties": {
"name": {
"type": "string"
},
"productId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"savedListUrl": {
"type": "string"
},
"notFoundProductIds": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Remove items from my list",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Alert the user when a brand or keyword goes on offer. Needs a MyGroceryPal account.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | brand: every product of a brand; keyword: product names |
| term * | string | e.g. 'Cadbury' or 'oat milk' |
| minSavingsPercent | any | Percent, 15 by default |
{
"name": "create_price_alert",
"title": "Create a price alert",
"description": "Alert the user when a brand or keyword goes on offer. Needs a MyGroceryPal account.",
"inputSchema": {
"type": "object",
"required": [
"kind",
"term"
],
"properties": {
"kind": {
"enum": [
"keyword",
"brand"
],
"type": "string",
"description": "brand: every product of a brand; keyword: product names"
},
"term": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "e.g. 'Cadbury' or 'oat milk'"
},
"minSavingsPercent": {
"anyOf": [
{
"type": "number",
"const": 5
},
{
"type": "number",
"const": 10
},
{
"type": "number",
"const": 15
},
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 30
}
],
"description": "Percent, 15 by default"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"kind",
"term",
"minSavingsPercent"
],
"properties": {
"kind": {
"enum": [
"keyword",
"brand"
],
"type": "string"
},
"term": {
"type": "string"
},
"storeToAdd": {
"enum": [
"tesco",
"sainsburys",
"asda",
"aldi",
"morrisons",
"coop",
"waitrose",
"iceland",
"bm",
"boots",
"superdrug",
"savers",
"ocado"
],
"type": "string"
},
"minSavingsPercent": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
}
},
"annotations": {
"title": "Create a price alert",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Tell the MyGroceryPal team, for the user, about a product it does not have or a price that looks wrong. Only when the user asks you to report it. For a missing product, search once first, then report.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | one of ["missing_product","wrong_price"] |
| store | string | one of ["tesco","sainsburys","asda","aldi","morrisons","coop","waitrose","iceland","bm","boots","superdrug","savers","ocado"] |
| message * | string | What is missing or wrong, in the user's words |
| productId | string | Needed for wrong_price |
{
"name": "report_problem",
"title": "Report a problem",
"description": "Tell the MyGroceryPal team, for the user, about a product it does not have or a price that looks wrong. Only when the user asks you to report it. For a missing product, search once first, then report.",
"inputSchema": {
"type": "object",
"required": [
"kind",
"message"
],
"properties": {
"kind": {
"enum": [
"missing_product",
"wrong_price"
],
"type": "string"
},
"store": {
"enum": [
"tesco",
"sainsburys",
"asda",
"aldi",
"morrisons",
"coop",
"waitrose",
"iceland",
"bm",
"boots",
"superdrug",
"savers",
"ocado"
],
"type": "string"
},
"message": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "What is missing or wrong, in the user's words"
},
"productId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
"description": "Needed for wrong_price"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"missing_product",
"wrong_price"
],
"type": "string"
}
}
},
"annotations": {
"title": "Report a problem",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}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; a cheaper swap is a search at the user's store sorted by price or unit_price. For an old receipt, check_price_history takes a date. The other tools take the productIds these return. A store that misses lines is partial: say N of M items, never rank it with full ones. Link the user to productUrl for the full comparison, and to storeUrl when they want to buy at a store.
Names, descriptions and schemas were written by the server and are shown as data.