Skip to main content
Glama

Get Lidl Receipt Summary

lidl_get_receipt_summary
Read-only

Retrieve a receipt summary and savings breakdown by ticket ID, using cached data from the last 30 days to review past Lidl purchases.

Instructions

Get receipt summary/savings breakdown by ticket ID. Cached for 30 days.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticketId": "<ticketId>"
    },
    "name": "lidl_get_receipt_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNo2-letter Lidl country code (e.g. 'nl' or 'de'). Defaults to LIDL_COUNTRY ('nl').
ticketIdYesReceipt/ticket ID from lidl_list_receipts.

Output Schema

NameRequiredDescriptionDefault
dateNo
isHtmlNo
originNo
vendorNo
ticketIdNo
localDateNo
purchaseAmountNo
hasHtmlDocumentNo
isDeletedTicketNo
purchaseSavingsNo
purchaseAmountWithoutCurrencyNo
purchaseSavingsWithoutCurrencyNo

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 already declare readOnlyHint=true, so the safety profile is covered. The description adds a genuine behavioral trait beyond that: results are cached for 30 days, which tells the agent data may be stale and repeat calls are cheap.

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 short sentences with zero waste; the core purpose is front-loaded and the caching note follows as supporting context.

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 an output schema covering return values, annotations covering safety, and full parameter documentation, the description supplies what remains: purpose and cache lifetime. Only the relationship to the sibling details tool is left implicit.

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 both parameters (ticketId and country with its default) are fully documented in the schema. The description adds no meaning beyond that, so the baseline 3 applies.

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 ('Get receipt summary/savings breakdown') scoped by ticket ID. The 'summary/savings breakdown' framing implicitly distinguishes it from lidl_get_receipt_details, but no sibling is named explicitly.

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 by 'by ticket ID' and the schema note that ticketId comes from lidl_list_receipts, giving a workflow hint. However, there is no explicit when-to-use-this-vs-lidl_get_receipt_details guidance or stated prerequisites.

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