Skip to main content
Glama

get_recipe

Read-only

Fetches a store recipe's ingredient shopping list, scaled to the number of people, with product packs, alternatives, and missing-item notes before adding items to the cart.

Instructions

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). missing: product ids not sold at the address: say so to the human.

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": {
      "store": "<store>",
      "recipe": "<recipe>"
    },
    "name": "get_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeYesOne store: "nemlig", "bilkatogo" or "rema1000".
recipeYesThe recipe's link or id from search_recipes or list_recipes.
personsNoPeople to cook for, 2-12. Leave out for the recipe's own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.7.1
    • addedInput schema / properties / persons / description
      Added value: +"People to cook for, 2-12. Leave out for the recipe's own."
    • addedInput schema / properties / recipe / description
      Added value: +"The recipe's link or id from search_recipes or list_recipes."
    • addedInput schema / properties / store / description
      Added value: +"One store: \"nemlig\", \"bilkatogo\" or \"rema1000\"."
  2. 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 mark this read-only, open-world, non-destructive, so the bar is lower, but the description still adds real behavior: `have_at_home` items (salt, oil) are excluded from `total`, BilkaToGo returns one pack per product with no alternatives and a fixed `persons`, and `missing` lists product ids not sold at the address. Those are non-obvious output semantics an agent could not infer from the schema.

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-loaded with the purpose and the ingredient/total model, then store-specific caveats and the cart handoff. It is dense but nearly every clause carries information; the parenthetical Danish UI reference and the fragment 'Also `image`, `description`, `method`, `tip`.' are slightly compressed but not wasteful.

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?

There is no output schema, so the description carries the return-value burden and does so: ingredient rows with product/packs/alternatives, `total`, `have_at_home`, `missing`, plus recipe metadata. Combined with the two required parameters and the cart follow-up, an agent has everything needed to call it and act on the result.

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 baseline is 3, but the description adds meaning beyond the schema: `persons` scales `ingredients` from `ingredients_persons`, and for BilkaToGo `persons` is fixed/null for pieces. `recipe` is clarified as a link or id from sibling tools. `store` adds nothing beyond its enum in the schema, which keeps this from a 5.

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?

The description states a concrete verb+resource: returning the products to buy for one of the store's recipes, broken down per ingredient with the store's product, packs for `persons`, and alternatives. It also names the non-shopping payload (`image`, `description`, `method`, `tip`), so an agent can tell this apart from `search_recipes`/`list_recipes`, which it explicitly names as the source of the `recipe` argument.

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?

Usage is spelled out as a sequence: get the recipe id/link from search_recipes or list_recipes, call this tool, then put products in the cart with add_recipe_to_cart only after the human says yes. It also gives a conditional rule for `have_at_home` items ('ask first') and store-specific expectations for BilkaToGo.

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