Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DO_NOT_TRACKNoSet to 1 to turn off anonymous usage counts, as an alternative to HANDLE_TELEMETRY=0.
HANDLE_TELEMETRYNoAnonymous usage counts are on by default; set to 0 to turn them off.1
HANDLE_TELEMETRY_URLNoURL for your own Umami instance to receive anonymous usage counts.
HANDLE_TELEMETRY_WEBSITENoWebsite identifier for your own Umami instance.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Tools for Danish grocery stores with home delivery. You can search, compare baskets, find recipes, list delivery times and change cart quantities. You can never order or pay: the human always does that on the store's website. If the human is new or unsure what to ask, suggest, in their language: 'Vi har 4.000 kr. til mad om måneden. Lav ugens madplan.' Before a meal plan, if you do not know it yet, ask at most 3 short questions: how many eat (adults, children), what they love and never eat, and which store (or the cheapest). A monthly budget becomes a weekly one: what is left of it divided by the weeks left in the month, this week included, at least 1. Show that sum.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_cartA

Show the cart as it is now: lines, fees, total, whether the minimum order is met and url, the store's cart page where the human checks the cart and pays: give it to the human. With store that store's cart; without, every store's cart keyed by store name, a failing store (e.g. no login) as {"error": ...} next to the others. REMA 1000: the cart is the shopping list "handle-mcp" in REMA's app, where the human orders. Use it before set_cart_quantities to see what is there; for past orders use get_orders.

set_cart_quantitiesA

Set ABSOLUTE quantities in one store's cart (0 removes the product). Never orders or pays. Product ids come from search_products, compare_basket or list_offers. Returns a result per product and the new cart with its url: give the human that link to check and pay. REMA 1000: sets the shopping list "handle-mcp", never another list.

add_recipe_to_cartA

Put a recipe's products in one store's cart, as get_recipe shows them. ASK THE HUMAN FIRST: show the list from get_recipe and get a yes. Never orders or pays. Adds to what is already in the cart, so calling it twice adds twice. have_at_home items (salt, oil) are left out unless named in include. skip leaves out ingredients; swap maps an ingredient (or product id) to one of its alternatives' product ids. Names: ingredient or product id. Returns before/added/after per product, the skipped items and the new cart. Check ok per product: a store can refuse some lines; tell the human which ones failed. BilkaToGo: one pack per product; persons is not used. REMA 1000: the cart is the shopping list "handle-mcp"; persons is not used, the packs are for the recipe's own persons.

get_delivery_infoA

Show the delivery the human has already chosen in one store: time, edit deadline and next free day, plus fees and minimum order. delivery_mode is "home", "pickup" (BilkaToGo, REMA 1000, with pickup_store) or null when unknown; the time is null when none is chosen. To see free times to choose from, use list_delivery_slots. Only reads.

list_delivery_slotsA

List free delivery times for the next days days with the delivery fee per slot, in time order, plus the 3 cheapest per store. nemlig: "Personlig" (you are home) or "Fleksibel" (left at the door). BilkaToGo: one flat fee, night delivery, or pickup times ("Afhentning") when the cart is set to pickup. REMA 1000: Køb & Hent times in the store chosen at login, no fee. Only reads: it never chooses a time, store or mode. The human chooses on the store's website. For the time already chosen, use get_delivery_info.

get_ordersA

List the human's past orders in one store, newest first: id, status, date and total. Use it for "what do we usually buy"; then get_order with an id for the products. nemlig and BilkaToGo; needs a login. Only reads.

get_orderA

Show one past order with every product bought: name, product id, count and price. Get the id from get_orders first. The product ids work in set_cart_quantities to buy the same again. nemlig and BilkaToGo; needs a login. Only reads.

search_productsA

Search products in one or more stores. Returns price, price per kg/l, offers and EAN when known. Stores rank by relevance and put cheap products far down: when the human asks for the cheapest, use sort="unit_price" (per kg/l/stk) or "price". For a whole shopping list, use compare_basket.

search_recipesA

Find the stores' own recipes, e.g. "kylling karry". Returns name and link. Use it when the human names a dish; to browse by tag or category, use list_recipes. Use get_recipe for time, persons and the products to buy. nemlig and REMA 1000: BilkaToGo has no recipe search, use list_recipes with category there.

get_recipeA

The products to buy for one of the store's recipes, as on its "Se varer og læg i kurv": per ingredient the store's product, packs for persons and alternatives. have_at_home items (salt, oil) are what the store assumes you have: left out of total, ask first. Also image, description, method, tip. Scale ingredients from ingredients_persons. recipe is the recipe's link or id from search_recipes or list_recipes. Put the products in the cart with add_recipe_to_cart after the human says yes. BilkaToGo: one pack per product, no alternatives; persons is fixed (null for pieces). REMA 1000: no login needed; packs for the recipe's own persons, persons is not used; no alternatives; an ingredient REMA has no product for is in ingredients only. missing: product ids not sold at the address: say so to the human.

list_recipesA

Browse the store's recipes, with link, when the human has no dish in mind (for a dish by name, use search_recipes). No tags or category: this week's featured recipes (nemlig: "Ugens udvalgte"). With tags: recipes that have every tag, e.g. ["Familievenlig", "Budgetvenlig"] or ["Under 30 min", "Kylling"]. nemlig's tags include Under 20/30 min, Budgetvenlig, Familievenlig, Populær, Mad til flere dage, Vegetarisk, Kylling, Fisk, Oksekød, Gris and cuisines; an unknown tag answers with the full list. category (nemlig: aftensmad by default, frokost, madpakke, morgenmad, ...; a sub-category by name or with its parent, e.g. "julefrokost" or "juleopskrifter/julefrokost"; an unknown one answers with nemlig's list). To read every recipe in a tag or category: ask again with offset raised by limit, the same limit each time, until a store gives fewer than limit. To pick by what is in the dish (what the household does not eat, what is in the fridge, few ingredients): ingredients true gives each recipe its ingredient lines, as the store wrote them (null with ingredients_reason when the store did not give them). You judge: salmon is fish; a dish with one unwanted line ("1 tsk oregano") can often be cooked without it. Offer that to the human as "fits if we leave out ..."; after a yes, add_recipe_to_cart has skip and swap. without is a safety net for that: it removes nothing, and gives each recipe hits, its name and the lines that hold one of the words (inside longer words too: "løg" also hits "hvidløg"); hits null = the lines were not read, so nothing was checked. No store has such a filter itself. category "madplan" is the store's own week plans, the week in group: nemlig's "Ugens madplan", earlier weeks and "Mad til flere dage" (dinners and lunch boxes in one pack; no tags with it); BilkaToGo's plan for this week and the weeks before, 7 dinners each; REMA 1000 has no week plan and answers with its "Avisopskrifter". BilkaToGo: no tags; no category is this week's "Madplan" (7 dinners); category is a path like aftensmad or aftensmad/pastaretter, an unknown one answers with the list. REMA 1000: no tags or category is "Avisopskrifter" (dinners from this week's leaflet); tags are REMA's own, e.g. Aftensmad, Mad for børn, Nem hverdagsmad, Kødfri, Fisk & skaldyr, and category is one more tag; an unknown tag answers with the list. Each recipe has the store's own tags (BilkaToGo has none), and time and persons when the store's list says them (REMA 1000; else null: get_recipe has them). Use get_recipe.

list_offersA

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.

get_nutritionA

Nutrition per 100 g or 100 ml from the store's label: energy_kj, energy_kcal, fat, saturated_fat, carbohydrate, sugar, protein, salt, fibre as strings ("0.13", "<0.5"), null when the label leaves a line out. No label (often fresh meat, fruit): nutrition null with a reason. Up to 50 ids from search_products, list_offers or compare_basket; duplicates are removed. nemlig, BilkaToGo and REMA 1000; no login needed.

compare_basketA

Price a shopping list in each store, e.g. ["2 x letmælk 1 l", "rugbrød", "æg 10 stk"]. Write the amount you need ("fior di latte 300 g"), not a pack size. Returns per item a suggested product and up to 5 "candidates" (the suggestion first, one øko when found) with the cost for the amount and flags: name_match, size_fits, prepared (cold cuts, smoked, breaded), processed (frost/konserves), blend, oeko. The suggestion is a guess by word rules: pick the candidate that fits the user, and ask when "sure" is false or none fits (search_products finds more). Unknown facts and false flags are left out. Also total incl. fees and minimum order met. Only reads: use set_cart_quantities with the chosen ids after.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 14 tools

Disambiguation4/5

Most tools are cleanly separated by resource and action, and the descriptions explicitly steer between browse/find/detail workflows. There is minor overlap between search_products and compare_basket for priced product candidates, and between add_recipe_to_cart and set_cart_quantities for cart modification, but the boundaries are generally clear.

Naming Consistency5/5

All tool names use consistent snake_case verb_noun patterns such as search_products, get_cart, list_offers, and compare_basket. Singular/plural variants like get_order and get_orders are natural and do not introduce confusion.

Tool Count5/5

The server has 14 tools for a broad grocery-shopping domain spanning products, recipes, cart, offers, delivery, orders, and nutrition. Each tool covers a distinct workflow, and the count stays within a well-scoped range without feeling padded.

Completeness4/5

The surface covers the core workflows: product search, offers, basket pricing, recipe discovery and detail, cart read/write, nutrition, delivery information and slots, and past orders. Minor gaps remain, such as no explicit store-listing or login-status tool and no dedicated cart-clear operation, though most can be worked around and checkout is intentionally excluded.

Maintenance

ActivityMaintained
ResponsivenessLimited data