Skip to main content
Glama

Goma – MCP for Danish grocery prices, meal plans, and recipes

Foreslå madplan

suggest_meal_plan
Read-onlyIdempotent

Use this when the user wants a varied weekly meal plan (madplan) or dinner ideas for several days, optionally based on this week's offers. Returns one recipe per day with a date; it neither prices nor saves the plan. For a logged-in user, recipes that conflict with their Goma food profile are left out (foodProfileApplied), and the plan is personal as Goma's own "Byg min madplan": it keeps to their max cooking time and skips foods they wrote they don't eat, favours dishes they haven't turned down and that other users keep, and, unless ingredients, dietaryTags or maxPricePerRecipe are given, about a quarter to half of the dishes are ones they already like (source: favorite, own recipe, or history from their meal plans in the last 12 weeks); the rest are new. Tell the user which dishes they already know.

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

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of dinners on consecutive days, from that week's Monday, or from today once it has passed. Omitted: a logged-in user's cooking days per week, else 5.
intentNoWhat the user is looking for with this search, in one short sentence in the user's language, e.g. "billig aftensmad til 4 med kylling". Goma uses it to make the results more relevant. Only the goal of the search: no names, contact details or other personal data.
onSaleOnlyNoOnly recipes with ingredients on offer (tilbud) now.
storeNamesNoPrice recipes in these chains. Omitted: a logged-in user's favourite chains, else all chains.
dietaryTagsNo
ingredientsNoIngredients to use up, in Danish; any match counts.
weekStartDateNoAny date in the week to plan (YYYY-MM-DD). Defaults to the current week.
maxTimeMinutesNoMax total cooking time.
ignoreFoodProfileNoTrue searches without the logged-in user's Goma food profile, for this request only.
maxPricePerRecipeNoMax basket price per recipe in DKK.

Output Schema

NameRequiredDescriptionDefault
planYesOne recipe per day, on consecutive days.
weekStartDateYesMonday of the planned week (YYYY-MM-DD).
favoriteStoresYesThe logged-in user's favourite chains, used because no storeNames were given; else null.
foodProfileAppliedYesThe logged-in user's food profile items the recipes were filtered by (diets, allergies, foods they don't eat), in Danish as in the Goma app; null when none were applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ingredients / description
      Previous value: -"Ingredients to use up; any match counts."New value: +"Ingredients to use up, in Danish; any match counts."
  2. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "What the user is looking for with this search, in one short sentence in the user's language, e.g. \"billig aftensmad til 4 med kylling\". Goma uses it to make the results more relevant. Only the goal of the search: no names, contact details or other personal data.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Changed4 schema fields changed
    • removedInput schema / properties / days / default
      Removed value: -5
    • changedInput schema / properties / days / description
      Previous value: -"Number of dinners on consecutive days, from that week's Monday, or from today once it has passed."New value: +"Number of dinners on consecutive days, from that week's Monday, or from today once it has passed. Omitted: a logged-in user's cooking days per week, else 5."
    • addedOutput schema / properties / plan / items / properties / source
      Added value: +{
      +  "description": "Why a logged-in user gets a dish they know: favorite (one of their favourites), own (their own recipe), history (from their meal plans in the last 12 weeks); null for a new suggestion.",
      +  "enum": [
      +    "favorite",
      +    "own",
      +    "history",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / plan / items / required
      Previous value: -[
      -  "plannedForDate",
      -  "recipeId",
      -  "title",
      -  "imageUrl",
      -  "author",
      -  "totalTimeMinutes",
      -  "servings",
      -  "price",
      -  "discountPercentage",
      -  "url"
      -]New value: +[
      +  "plannedForDate",
      +  "recipeId",
      +  "title",
      +  "imageUrl",
      +  "author",
      +  "totalTimeMinutes",
      +  "servings",
      +  "price",
      +  "discountPercentage",
      +  "url",
      +  "source"
      +]
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), it discloses non-obvious personalization behavior: profile conflicts are dropped and surfaced via foodProfileApplied, max cooking time and disliked foods are honoured, disliked dishes are down-ranked, and roughly a quarter to half of results are already-known dishes sourced from favorites, own recipes, or 12 weeks of meal-plan history. It also states the key override: supplying ingredients, dietaryTags or maxPricePerRecipe suppresses the known-dish seeding.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening is well front-loaded with purpose and exclusions, but the second half collapses into one very long semicolon-chained sentence with nested parentheticals that is hard to parse at a glance. The content mostly earns its place, yet the density and run-on structure hurt scannability.

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?

For a 10-parameter, zero-required tool with an output schema, the definition covers purpose, exclusions, personalization logic, and the parameter interactions an agent must reason about. Return values need not be explained given the output schema, though date-range behavior (weekStartDate plus days from Monday/today) is only partly addressed and is left mostly to the schema.

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 90%, so the baseline is 3; the description earns an extra point by explaining cross-parameter interaction that the schema cannot express — that ingredients, dietaryTags or maxPricePerRecipe change the personalization mix. It also reinforces defaults (days, weekStartDate, storeNames) and adds an operational instruction to tell the user which dishes they already know.

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 first sentence states a specific verb and resource ("varied weekly meal plan (madplan) or dinner ideas for several days") plus its optional basis (this week's offers). The second sentence pins down the output shape (one recipe per day with a date) and explicitly disclaims what it is not: pricing or saving, which separates it from compare_meal_plan_cost and add_recipes_to_meal_plan.

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

Usage Guidelines4/5

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

Clear trigger condition ("use this when the user wants ... dinner ideas for several days") and clear negative boundaries ("neither prices nor saves the plan"), plus a note that offer-based suggestions are optional. It stops short of naming the sibling tools that handle pricing and saving, so the agent must map the exclusions itself, but the routing intent is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources