Skip to main content
Glama

get_promotions

Read-only

Retrieve current or upcoming BILLA, SPAR, and HOFER grocery promotions grouped by start date, or get BILLA and SPAR leaflet links for a postcode or town.

Instructions

What is on sale. Without upcoming: the current promotions of BILLA and SPAR, and HOFER's grouped by the day they started. With upcoming: HOFER's promotions of the coming days with prices (the only chain that publishes them early). dm runs no promotions.

HOFER entries carry date and themes. For promotions of one kind ("Kaffee in Aktion") use search_products with on_sale instead (BILLA and SPAR; HOFER's are only here).

Args: upcoming: Promotions that have not started yet instead of current ones. leaflets: Return links to the BILLA and SPAR leaflets of the province of near instead of products. near: Postcode or town, for the leaflets' province. rows: Products per chain (per day at HOFER), at most 20. Default 5. offset: Paging offset. Default 0.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_promotions"
  }
}

Input Schema

NameRequiredDescriptionDefault
nearNo
rowsNo
chainsNo
offsetNo
leafletsNo
upcomingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds real value beyond them: coverage limits (dm publishes nothing), HOFER as the only chain with early prices, HOFER entries carrying `date` and `themes`, and a hard cap of 20 rows per chain. It doesn't cover failure behavior for an invalid `near` value, keeping it just short of the top.

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?

The lead sentence front-loads the core purpose, then progressively narrows to modes, quirks, and argument docs; every line adds information. It loses a point for rake-like line wrapping and mild redundancy between the mode prose and the Args list.

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 no output schema, the description does useful work describing return content (leaflet links versus products, HOFER's `date` and `themes`) and grouping behavior, which is what an agent needs to interpret results. The undocumented `chains` parameter and the absence of any note on response shape for BILLA/SPAR products are the only real shortfalls.

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 0%, so the description carries the full burden and mostly delivers: `upcoming`, `leaflets`, `near` (postcode or town), `rows` with a documented max of 20 and default 5, and `offset` paging are all explained. The remaining gap is `chains`, which appears in the schema but is never mentioned in the description, leaving its filtering effect undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a concrete verb-phrase equivalent ("What is on sale") and immediately scopes it by chain: BILLA, SPAR, and HOFER grouped by start day. It explicitly separates itself from search_products for single-kind queries and notes that dm has no promotions, so an agent can distinguish it from siblings without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use branches: without `upcoming` returns current promotions, with `upcoming` returns HOFER's future ones, and `leaflets` switches to leaflet links. It also names the alternative (search_products with on_sale) and the exact case that selects it, plus the caveat that HOFER early promotions are only available here.

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