Skip to main content
Glama

list_offers

Read-only

Lists weekly grocery offers across Danish stores, optionally by category, so you can compare prices, prior prices, campaign details, and expiry before planning meals or a shopping list.

Instructions

List this week's offers in each store, also items you would not search for. For one named product, use search_products. Without category, a first look only: nemlig's Skarp pris, Priskup, Dagstilbud, Undgå madspild and gifts; the first of BilkaToGo's offers; REMA 1000's leaflet (Avisvarer). For a meal plan or a shopping list, call once per category you buy from: every offer in it, in each store. Each product has price, before_price and offer_until (null when the store does not say), offer_text (multi-buy, max per customer) and campaign (the store's name for the offer). A product on two lists is shown once. A list the store fails to send is left out (see the server log). Free gifts have price 0, max_per_order and their own product id, and are not cut by limit.

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": "list_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoWithout `category`: products per offer list, 1-25 (default 25). With it: products per store, 1-100 (default 60).
storesNoStores to ask, e.g. ["nemlig", "rema1000"]. Leave out to ask every store.
categoryNoOne category: "frugt og grønt", "kød og fisk", "mejeri og æg", "pålæg", "brød og kager", "kolonial", "frost", "drikkevarer", "slik og snacks", "husholdning", "pleje", "baby".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.8.0
    • addedInput schema / properties / category
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "One category: \"frugt og grønt\", \"kød og fisk\", \"mejeri og æg\", \"pålæg\", \"brød og kager\", \"kolonial\", \"frost\", \"drikkevarer\", \"slik og snacks\", \"husholdning\", \"pleje\", \"baby\".",
      +  "title": "Category"
      +}
    • addedInput schema / properties / limit / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / limit / default
      Previous value: -25New value: +null
    • changedInput schema / properties / limit / description
      Previous value: -"Products per offer list, 1-25."New value: +"Without `category`: products per offer list, 1-25 (default 25). With it: products per store, 1-100 (default 60)."
    • removedInput schema / properties / limit / type
      Removed value: -"integer"
  2. Changed2 schema fields changedv1.7.1
    • addedInput schema / properties / limit / description
      Added value: +"Products per offer list, 1-25."
    • addedInput schema / properties / stores / description
      Added value: +"Stores to ask, e.g. [\"nemlig\", \"rema1000\"]. Leave out to ask every store."
  3. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds substantial behavior beyond them: cross-list deduplication, omitted store lists, how free gifts behave (price 0, own product id, immune to `limit`), and null offer_until when a store is silent. These are edge cases an agent could not infer from schema or annotations.

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?

Front-loads the purpose and the alternative in the first two sentences, then spends the rest on return shape and edge cases with no filler. It is dense and long for three optional parameters, and pointing at "the server log" is a dead reference the agent cannot act on, but every sentence carries information.

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

Completeness5/5

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

No output schema exists, so the description carries the return-value burden and does so: per-product fields, free-gift exceptions, deduplication, and failure behavior are all covered. For an open-world, no-required-parameter listing tool, nothing needed to call it correctly is missing.

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 coverage is 100%, so the schema already documents all three parameters, but the description adds real meaning to `category`: omitting it yields a shallow first look while supplying it yields every offer in that category per store. That reframes the parameter from a filter into a depth switch, going beyond the schema text.

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?

States a specific verb and resource with scope: "List this week's offers in each store, also items you would not search for." It explicitly names the sibling it is not (search_products) and the condition that selects it, so the agent can discriminate without opening either schema.

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 branching: bare call for a first look, once per `category` for a meal plan or shopping list, and search_products for one named product. Both the alternative and the criterion for choosing it are stated, leaving nothing to inference.

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