Skip to main content
Glama

Get Products in a Digital Leaflet Campaign

lidl_get_campaign_offers
Read-only

Fetch discounted and featured products with prices from a Lidl digital leaflet campaign for NL or DE; supply the campaign ID to retrieve current offers.

Instructions

Fetch all discounted/featured products and prices inside a digital leaflet campaign ID for NL or DE. Works without authentication.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "lidl_get_campaign_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNo2-letter Lidl country code (e.g. 'nl' or 'de'). Defaults to LIDL_COUNTRY ('nl').
storeIdNoOptional store key (e.g. 'NL0135').
campaignIdYesCampaign ID from lidl_get_campaign_groups (e.g. '10008785').

Output Schema

NameRequiredDescriptionDefault
idYes
titleYes
productsYes
subtitleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds one genuine behavioral fact — 'works without authentication' — plus the implicit 'all' (no pagination or partial results), but says nothing about empty campaigns, invalid IDs, or what gets returned for a mismatched country.

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

Conciseness4/5

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

Two short sentences, front-loaded with the core action and scope; 'Works without authentication' is a useful trailing qualifier rather than filler. No redundancy or bloat.

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 handling return values, readOnlyHint covering safety, and full parameter descriptions in the schema, the description needs little more. The one residual gap is the unstated relationship to sibling retrieval tools, which it leaves to inference.

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 campaignId, storeId, and country are already documented with formats and defaults. The description only reinforces the country scope (NL or DE), adding no syntax, defaults, or interaction rules beyond the schema — 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: fetching discounted/featured products and prices within a leaflet campaign ID, scoped to NL or DE. An agent can distinguish this from lidl_get_campaign_groups (which supplies IDs) or lidl_search_offers, though the description never names a sibling 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 phrase 'inside a digital leaflet campaign ID' implies a prerequisite campaign ID, and the schema points to lidl_get_campaign_groups as the source. However, the description itself gives no when-to-use guidance or contrast with lidl_get_regular_products / lidl_get_leaflet_product, so usage must be inferred.

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