Skip to main content
Glama

Deactivate a Lidl Plus Coupon

lidl_deactivate_coupon
Idempotent

Deactivates a previously activated Lidl Plus coupon for a selected country (nl or de) using its promotion ID.

Instructions

Deactivate a previously activated Lidl Plus coupon for the selected country ('nl' or 'de').

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_deactivate_coupon"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNo2-letter Lidl country code (e.g. 'nl' or 'de'). Defaults to LIDL_COUNTRY ('nl').
promotionIdYesCoupon/promotion UUID to deactivate.
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

B3.4/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 and repeatability profile is covered structurally. The description adds the meaningful precondition that the coupon must already be activated and the country scoping, but says nothing about failure behavior or state changes on the server beyond the annotation set.

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?

A single well-formed sentence with the action front-loaded and no filler. The parenthetical country codes duplicate information already present in the schema, a small redundancy in an otherwise tight definition.

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 not be described, and the tool is a simple single-target mutation. However, nothing addresses what happens when the coupon is not currently activated or when an invalid promotionId is passed, which are the main open questions for an agent calling this.

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%, with country, promotionId and actionLocation all documented in the schema itself. The description only restates the country values ('nl' or 'de') that the schema already enumerates, adding no new meaning for any parameter.

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 specific verb and resource — 'Deactivate a previously activated Lidl Plus coupon' — which is unambiguous and readable at a glance. It does not explicitly name or contrast with the sibling lidl_activate_coupon, so differentiation is inferable rather than stated.

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?

'Previously activated' supplies an implicit precondition for calling the tool, but there is no explicit statement of when not to use it, what happens with non-activated coupons, or which sibling handles the inverse operation. Usage is implied rather than prescribed.

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