Skip to main content
Glama

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

Tilføj billede til opskrift

set_recipe_image
Destructive

Use this when the user wants a photo on one of their own Goma recipes, e.g. an image they uploaded in the chat or one created in the conversation. Goma stores it as the recipe's photo, replacing any earlier one, and returns the recipe card. Needs the recipeId from create_recipe, get_my_recipes or another earlier result.

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": {
      "recipeId": "<recipeId>",
      "image": "<image>"
    },
    "name": "set_recipe_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesThe image file: JPEG, PNG or WebP, at most 10 MB.
recipeIdYesThe user's own recipe.

Output Schema

NameRequiredDescriptionDefault
urlYesThe recipe's page on goma.gg, or Dine opskrifter for a private recipe.
titleYes
imageUrlYesThe stored photo.
isPublicYes
recipeIdYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior3/5

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

Adds real value beyond the annotations by disclosing that the new photo replaces any earlier one and that the recipe card is returned. However, it leaves the destructive/overwrite consequence implicit rather than explicit ('this permanently overwrites the previous photo'), and its 'replacing any earlier one' wording sits slightly awkwardly against idempotentHint=false, so the disclosure stays at a modest level.

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?

Three tight sentences with the trigger front-loaded, followed by effect and then prerequisite. No filler, though the middle sentence could name the overwrite more crisply.

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?

An output schema exists, so the brief 'returns the recipe card' note is sufficient, and format/size limits live in the schema. Ownership scoping and prerequisite sourcing are covered; only explicit authorization/permission expectations are absent.

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% and the nested image object is documented, so baseline is 3. The description still adds meaning the schema cannot: where the image can come from (chat upload or conversation-generated) and where to obtain recipeId, which guides correct invocation rather than restating types.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('set the recipe's photo'), scoped to 'one of their own Goma recipes', and it explicitly says the result replaces any existing photo and returns a recipe card. It is distinguishable from creation/import siblings by the 'own recipes' scope, though no sibling is named.

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?

Gives an explicit trigger ('Use this when the user wants a photo on one of their own Goma recipes') plus concrete example sources for the image (uploaded in chat, created in conversation). It also supplies a prerequisite for recipeId ('from create_recipe, get_my_recipes or another earlier result'), but states no when-not condition.

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