Skip to main content
Glama

Activate a Lidl Plus Coupon

lidl_activate_coupon
Idempotent

Activates a Lidl Plus coupon by promotion ID for the selected country (nl or de) so it applies at checkout.

Instructions

Activate a Lidl Plus coupon for the selected country ('nl' or 'de') so it applies at checkout.

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": {
      "promotionId": "<promotionId>"
    },
    "name": "lidl_activate_coupon"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNo2-letter Lidl country code (e.g. 'nl' or 'de'). Defaults to LIDL_COUNTRY ('nl').
promotionIdYesCoupon/promotion UUID to activate.
actionLocationNoOptional Action-Location header (defaults to 'CouponList').

Output Schema

NameRequiredDescriptionDefault
countryYes
responseNo
activatedNo
deactivatedNo
promotionIdYes

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=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds the downstream effect of activation but omits auth/session requirements, rate limits, and whether activation can fail after a coupon expires, leaving most behavioral context to the annotations.

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?

A single front-loaded sentence with no preamble or filler; the effect clause is placed where it earns its keep. Nothing here would be cut without losing information.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and annotations cover the mutation profile. However, for a state-changing coupon tool the description omits the prerequisite of being logged in and where promotionId comes from, which are the gaps an agent would most likely hit.

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

Parameters4/5

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

Schema description coverage is 100%, so the parameters are already documented in detail and the baseline is 3. The description reinforces the country dimension ('nl' or 'de'), but adds no detail about promotionId's origin or what actionLocation controls beyond what the schema states.

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?

The description states a concrete verb and resource ('Activate a Lidl Plus coupon') and adds the effect ('applies at checkout'), which is enough to separate it from lidl_deactivate_coupon and the read-only coupon getters even without naming a sibling. It stops short of explicit sibling differentiation.

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 only implied: an agent can infer you activate coupons you want applied at checkout, but the description gives no when-not guidance, no prerequisites (e.g. that a login and a promotionId from a coupon listing are needed), and no mention of the deactivate counterpart as the reverse operation.

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