Skip to main content
Glama

Best real deals today

best_deals
Read-onlyIdempotent

Today's real deals at Aldi, Tesco, SuperValu, Dunnes Stores and Lidl: offers at the lowest price on record for that product at that shop, or the first offer it has ever had. Each is measured against the product's own price history, not the shop's was price, so a recurring or long-running price does not count as a deal.

The biggest saving comes first, against the usual price or the price it typically sold at, whichever is less, so a product that is usually on offer does not lead. By that saving, the shops take turns among deals that save alike, so one shop does not fill the top of the list, and no deal comes ahead of one that saves more than twice as much. Every promotion on sale is judged, so this covers them all, and offset reaches every deal. Covers food, drinks, alcohol, household, baby and pet products unless another aisle is named. Tobacco, infant formula and medicines are never included.

Returns {"as_of", "note", "total", "deals"}. total counts every deal for this search, across all pages, and next_offset is the next page's offset, missing on the last page. Each deal has name, store, pack, you_pay, regular_price, saving_eur, saving_pct, card_needed, buy_quantity, offer_ends, url and category, and the record behind it: kind, lowest_since, low_before, low_before_date, offer_start, run_start, days_on_offer, started_today, cut_today, yesterday_price, back_after_days, typical_price, offer_share and abv. started_today is true only for an offer that began on the collection day; an offer running for weeks whose price fell that day has cut_today instead, and offer_start says since when it has been on offer. One credit per deal returned.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "best_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many deals to return in one page (default 20, at most 200).
queryNoWords in the product's name or brand, e.g. "heinz" or "baileys": a product or a brand, never an aisle (few wines have the word wine in their name).
storeNoOne shop to look in only that one: aldi, tesco, supervalu, dunnes or lidl. Leave it out for all five.
offsetNoHow many rows to skip, for the next page: the next_offset of the page before (default 0).
categoryNoAn aisle or shelf, e.g. "frozen", "household" or "toiletries". "alcohol" is every drink above 0.5% ABV at the five chains, low-alcohol ones included. "alcohol free" is the drinks of 0.5% ABV or less: by the strength on record, by a name that says alcohol free, non-alcoholic, 0.0 or de-alcoholised, or, with no strength on record, by a shelf that says so (a shop's shared "low and no" shelf alone does not count); "low and no" adds the low-alcohol drinks on those shelves. The drinks aisles are "wine", "beer", "cider", "spirits" (liqueurs included), "liqueurs" and "premixes" (alcopops and canned cocktails), or a list such as "beer and cider". Together they hold all of "alcohol" but a drink whose shelf, name, type and strength place it in none of them, such as a beer shelved only under a shop's whole drinks department with only its brand for a name. "drinks" is every drink, alcohol included; "soft drinks" leaves alcohol out.

Output Schema

NameRequiredDescriptionDefault
hintNoWhat to try, when no deal matched
noteYesWhat these savings are measured against, and the limits of the data
as_ofNoLatest collection day behind these deals, YYYY-MM-DD
dealsNoBiggest saving first, with the shops mixed unless one was named
totalNoHow many deals there are today for this search, all pages
offsetNoHow many deals this page skipped
creditsNoWhat this answer cost the person's BasketWatch account and what is left. Missing on a free answer
next_offsetNoThe offset of the next page; missing on the last

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"An aisle or shelf, e.g. \"frozen\", \"household\" or \"toiletries\". \"alcohol\" is every drink above 0.5% ABV at the five chains, low-alcohol ones included. \"alcohol free\" is the drinks of 0.5% ABV or less: by the strength on record, by a name that says alcohol free, non-alcoholic, 0.0 or de-alcoholised, or, with no strength on record, by a shelf that says so (a shop's shared \"low and no\" shelf alone does not count); \"low and no\" adds the low-alcohol drinks on those shelves. The drinks aisles are \"wine\", \"beer\", \"cider\", \"spirits\" (liqueurs included), \"liqueurs\" and \"premixes\" (alcopops and canned cocktails), or a list such as \"beer and cider\". Together they hold all of \"alcohol\" but a drink whose shelf, name, type and strength place it in none of them, such as a beer shelved only under a shop's whole drinks department with only its brand for a name. \"drinks\" is every drink, alcohol included; \"soft drinks\" leaves alcohol out."
    • removedInput schema / properties / category / title
      Removed value: -"Category"
    • addedInput schema / properties / limit / description
      Added value: +"How many deals to return in one page (default 20, at most 200)."
    • addedInput schema / properties / limit / maximum
      Added value: +200
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • addedInput schema / properties / offset / description
      Added value: +"How many rows to skip, for the next page: the next_offset of the page before (default 0)."
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • removedInput schema / properties / offset / title
      Removed value: -"Offset"
    • addedInput schema / properties / query / description
      Added value: +"Words in the product's name or brand, e.g. \"heinz\" or \"baileys\": a product or a brand, never an aisle (few wines have the word wine in their name)."
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • changedInput schema / properties / store / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "aldi",
      +      "tesco",
      +      "supervalu",
      +      "dunnes",
      +      "lidl"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / store / description
      Added value: +"One shop to look in only that one: aldi, tesco, supervalu, dunnes or lidl. Leave it out for all five."
    • removedInput schema / properties / store / title
      Removed value: -"Store"
    • removedInput schema / title
      Removed value: -"best_dealsArguments"
    • addedOutput schema / $defs / Credits
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "left": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Credits left on the account after it",
      +      "title": "Left"
      +    },
      +    "note": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Said when the balance is low, or when it cut this answer short",
      +      "title": "Note"
      +    },
      +    "used": {
      +      "description": "Credits this answer cost: one for each record it returned",
      +      "title": "Used",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "used"
      +  ],
      +  "title": "Credits",
      +  "type": "object"
      +}
    • removedOutput schema / $defs / Deal / properties / usual
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The same figure as regular_price",
      -  "title": "Usual"
      -}
    • addedOutput schema / properties / credits
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/Credits"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
      +}
    • addedOutput schema / properties / hint
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "What to try, when no deal matched",
      +  "title": "Hint"
      +}
    • addedOutput schema / properties / next_offset
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The offset of the next page; missing on the last",
      +  "title": "Next Offset"
      +}
    • addedOutput schema / properties / offset
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "How many deals this page skipped",
      +  "title": "Offset"
      +}
  2. Changed10 schema fields changed
    • addedOutput schema / $defs / Deal / properties / abv
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Alcohol by volume in percent, as the product's record has it. Empty when none is stated, and when the record cannot be right: over 100, over what a drink of its aisle reaches, or over 0.5 for a drink named alcohol free",
      +  "title": "Abv"
      +}
    • addedOutput schema / $defs / Deal / properties / back_after_days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "For an offer that began on the collection day: the days with no offer right before it, 14 or more, after an earlier offer. Given only when the whole break is on the price record, so it is never a guess",
      +  "title": "Back After Days"
      +}
    • addedOutput schema / $defs / Deal / properties / cut_today
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "True when the price fell on the collection day on an offer that was running the day before too",
      +  "title": "Cut Today"
      +}
    • changedOutput schema / $defs / Deal / properties / days_on_offer / description
      Previous value: -"Days at this price or lower, today included"New value: +"Days on offer without a break from offer_start to the collection day, both included"
    • addedOutput schema / $defs / Deal / properties / offer_share
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The share of those 90 days it was on any offer, from 0 to 1",
      +  "title": "Offer Share"
      +}
    • addedOutput schema / $defs / Deal / properties / offer_start
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "On offer since: the first day of the unbroken run of days on any offer, shelf or card price, that reaches the collection day, YYYY-MM-DD. The price can have changed during it",
      +  "title": "Offer Start"
      +}
    • changedOutput schema / $defs / Deal / properties / run_start / description
      Previous value: -"The day this price began, YYYY-MM-DD"New value: +"The day this price, or a lower one, began, YYYY-MM-DD: the saving is measured against the 90 days before it"
    • changedOutput schema / $defs / Deal / properties / started_today / description
      Previous value: -"True when this price began on the latest collection day"New value: +"True only for an offer that began on the collection day: on offer that day, on none of the three days before, in stock the day before with no offer, and begun that day by the shop's own dates where it states them. A lower price on an offer already running is cut_today, not a new offer"
    • addedOutput schema / $defs / Deal / properties / typical_price
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The median price over the 90 days before this offer, offer days included, in euro: below regular_price when it was often on offer",
      +  "title": "Typical Price"
      +}
    • addedOutput schema / $defs / Deal / properties / yesterday_price
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "With cut_today, what it cost the day before, in euro, with the same card if one is needed",
      +  "title": "Yesterday Price"
      +}
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), yet the description adds genuinely new behavior: a credit cost model ('One credit per deal returned'), the ranking and tie-breaking algorithm that determines result order, and semantic distinctions between started_today vs cut_today and offer_start. It also explains pagination ('next_offset is the next page's offset, missing on the last page'). The only shortfall is that a large block is spent restating return fields that an output schema already carries.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core definition is correctly front-loaded, but the paragraph is long and contains a very hard-to-parse ordering sentence about shops taking turns and 'no deal comes ahead of one that saves more than twice as much'. A lengthy run of field names (kind, lowest_since, low_before, low_before_date, offer_start, run_start, ...) duplicates the output schema and dilutes the useful content. Editing would materially improve it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter, five-parameter tool with an output schema, the description covers the important unknowns: what counts as a deal, sort order, category inclusions/exclusions, pagination and credit cost. Minor gaps remain, such as how fresh the 'as_of' snapshot is or how query matching handles brand aliases, but nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains limit, query, store, offset and category, including the long alcohol/alcohol-free breakdown. The description reinforces category scope with its 'unless another aisle is named' clause but adds no syntax, formatting or tie-breaking detail that the schema does not already supply. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The opening sentence names the verb (returns today's real deals), the exact domain (Aldi, Tesco, SuperValu, Dunnes, Lidl) and the defining criterion: an offer at the lowest price on record for that product at that shop, or the first offer it has ever had. It further distinguishes itself from the sibling get_promotions by explicitly rejecting the shop's 'was' price and long-running/recurring offers as deals. An agent can tell this is a deals feed, not a promotions or price-history tool.

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

Usage Guidelines3/5

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

Usage is implied through scope statements ('covers food, drinks, alcohol, household, baby and pet products unless another aisle is named'; 'Tobacco, infant formula and medicines are never included') rather than stated as when-to-use. There is no explicit routing guidance such as when to prefer get_promotions, recent_price_changes or price_movements over this tool, and no statement of prerequisites or when not to call it. The agent must infer the choice of tool from the deal definition alone.

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