Skip to main content
Glama

Analyze Regular Lidl Purchases

lidl_get_regular_products
Read-only

Analyze Lidl digital receipts by country to identify regularly purchased items, average prices, purchase cadence, and restock candidates for grocery planning.

Instructions

Analyze past digital receipts for a single country ('nl' or 'de') to identify regularly purchased items, average prices, purchase cadence, and restock candidates. Reuses the 30-day in-memory receipt cache.

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": "lidl_get_regular_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of regular products to return (default 50).
countryNo2-letter Lidl country code (e.g. 'nl' or 'de'). Defaults to LIDL_COUNTRY ('nl').
daysBackNoOptional lookback window in days.
yearOffsetNoOptional receipt year offset (0 = current year, 1 = previous year).
maxReceiptsNoMaximum recent receipts to scan (default 25, max 60).
minPurchasesNoMinimum number of receipts an item must appear on (default 2).
excludeDepositsNoExclude bottle/crate deposits like Pfand / Statiegeld (default true).

Output Schema

NameRequiredDescriptionDefault
noteNo
countryYes
dateRangeNo
minPurchasesYes
regularProductsYes
receiptsAnalyzedYes
totalUniqueItemsYes
receiptsAvailableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description's note that it 'reuses the 30-day in-memory receipt cache' adds genuine behavioral context about data freshness and cost. It stops short of explaining what happens when daysBack or yearOffset exceeds that 30-day cache, which is the one behavior an agent could trip over.

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

Conciseness5/5

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

Two sentences, zero filler, with the purpose and output vocabulary front-loaded and the operational note placed last. Nothing is redundant with the title or schema.

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?

With seven all-optional parameters, full schema coverage, an output schema, and readOnly annotations, the description covers enough to call the tool correctly. The minor gap is not clarifying how daysBack/yearOffset interact with the stated 30-day cache window.

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 every parameter including minPurchases, maxReceipts and excludeDeposits is already documented; baseline 3 applies. The description adds only the country enum hint ('nl' or 'de') and the cache note that loosely relates to daysBack.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Analyze past digital receipts') and enumerates the concrete outputs: regularly purchased items, average prices, purchase cadence, restock candidates. That distinguishes it in substance from listing or summary siblings, but no sibling is named and the scope phrase 'for a single country' is the only boundary marker.

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?

The phrase 'restock candidates' implies the intended use case, but there is no explicit when-to-use, when-not-to-use, or named alternative (e.g. lidl_get_receipt_summary for raw receipts). Guidance is inferable rather than stated.

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