handle-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DO_NOT_TRACK | No | Set to 1 to turn off anonymous usage counts, as an alternative to HANDLE_TELEMETRY=0. | |
| HANDLE_TELEMETRY | No | Anonymous usage counts are on by default; set to 0 to turn them off. | 1 |
| HANDLE_TELEMETRY_URL | No | URL for your own Umami instance to receive anonymous usage counts. | |
| HANDLE_TELEMETRY_WEBSITE | No | Website 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_cartA | Show the cart as it is now: lines, fees, total, whether the minimum order is met and |
| 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 |
| 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.
|
| 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. |
| list_delivery_slotsA | List free delivery times for the next |
| 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 |
| 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 |
| 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 |
| 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 |
| 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): |
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
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.
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.
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.
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.