Skip to main content
Glama

Get Lidl Receipt Details

lidl_get_receipt_details
Read-only

Retrieve full itemized Lidl digital receipt details by ticket ID, including line items, prices, discounts, and store.

Instructions

Get full itemized digital receipt details (line items, prices, discounts, store) 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_details"
  }
}

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
idYes
dateYes
linesNo
totalYes
storeIdNo
currencyNo
localDateNo
storeNameNo
isFavoriteNo
totalDiscountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/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 one genuine behavioral fact beyond that — a 30-day cache — but says nothing about what happens on a cache miss, error behavior, or freshness of the returned data.

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 tight sentences with the core action and lookup key front-loaded, followed by the caching caveat. No redundant or filler wording.

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, full parameter documentation, and readOnly annotations, the description supplies what an agent needs to call it correctly. Only the cache-miss/error behavior is left unstated.

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 the country code (with default LIDL_COUNTRY) and ticketId are fully documented in the schema. The description adds no meaning beyond that, which is the expected baseline when the schema does the work.

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 full itemized digital receipt details') plus the lookup key ('by ticket ID') and enumerates the payload (line items, prices, discounts, store). The word 'itemized' implicitly contrasts with lidl_get_receipt_summary, 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?

The description points to lidl_list_receipts as the source of the ticket ID, which is a useful prerequisite. However, it never states when to prefer this over lidl_get_receipt_summary or what happens with an invalid/expired ticket, so usage is only implied.

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