Skip to main content
Glama

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

Gem favorit

set_favorite
DestructiveIdempotent

Use this when the user wants a recipe or product saved to or removed from their Goma favourites, as the heart button in the Goma app. Needs a recipeId or productId from an earlier result. Removing a recipe takes it out of every recipe list the user owns; a list shared with their household keeps it.

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": {
      "type": "<type>",
      "id": "<id>",
      "saved": "<saved>"
    },
    "name": "set_favorite"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesrecipeId for a recipe, productId for a product.
typeYes
savedYesTrue to save, false to remove.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYesThe user's saved recipes or Mine produkter on goma.gg.
typeYes
savedYesWhether the item is now among the user's favourites.
keptInSharedListNoSet when a recipe is removed: true if a list shared with the household still holds it.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, yet the description goes further by disclosing blast radius: removing a recipe removes it from every list the user owns, except shared household lists which keep it. That is exactly the non-obvious consequence an agent needs before invoking a destructive, idempotent mutation.

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

Conciseness5/5

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

Front-loaded with the activation condition, then the data prerequisite, then the side-effect caveat. Every clause carries distinct information, with no restatement of the tool name or schema.

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?

With an output schema present, return values need no explanation, and safety, arbitration between save and remove, and list-removal consequences are all covered. The only unaddressed edge is what happens on a no-op toggle, though idempotentHint largely covers it.

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?

The schema covers id and saved well at 67% coverage, and the description adds genuine provenance ('from an earlier result') plus clarifies that id is a recipeId or productId depending on type. The type enum's meaning is left to the schema, which is a minor gap but not a costly one.

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 concrete verb pair (save/remove) and resource (Goma favourites) for two entity types, and anchors it to a familiar UI affordance ('the heart button in the Goma app'). The recipe/organic scope implicitly separates it from store-level favouriting among the siblings.

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?

'Use this when the user wants a recipe or product saved to or removed from their Goma favourites' gives a clear trigger condition, and 'Needs a recipeId or productId from an earlier result' states the prerequisite data. It stops short of naming an explicit alternative or a when-not condition, but the recipe/product scoping does the routing work for the obvious sibling.

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