Skip to main content
Glama

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

Importér opskrift

import_recipe

Use this when the user wants a recipe from a web page, such as a food blog, imported into Goma from its link, as the Goma app's Importér opskrift does. Goma reads the page and saves the recipe among the user's own recipes, public on Goma with the source site credited as author and linked; the method may stay on the source page. If Goma already has the recipe from that link, it is returned with alreadyInGoma true and nothing is saved.

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": {
      "url": "<url>"
    },
    "name": "import_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe recipe page's https link.

Output Schema

NameRequiredDescriptionDefault
urlYesThe recipe's page on goma.gg, or Dine opskrifter for a private recipe.
titleYes
authorYesThe source credited as the recipe's author.
imageUrlYesThe recipe's photo; a new recipe has none.
isPublicYes
recipeIdYes
servingsYes
sourceUrlYesThe page the recipe comes from.
ingredientsYes
instructionsYes
alreadyInGomaYesGoma already had the recipe from this link; nothing new was saved.
totalTimeMinutesYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the key side effects an agent could not otherwise infer: the recipe is saved publicly with the source site credited as author and linked, and the method text may remain on the source page. It also documents the duplicate case returning alreadyInGoma true with nothing saved, which is essential before an agent decides to call it.

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?

Two sentences, front-loaded with the use case and then the behavioral consequences. Slightly dense with clauses, and the reference to "the Goma app's Importér opskrift" largely restates the title, but no sentence is wasted.

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?

For a one-parameter import tool with an output schema available, the description covers trigger, side effects, visibility/attribution, and duplicate handling. An agent has everything needed to call it correctly and to explain the result to a user.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single url parameter is already documented with pattern, min/max length and a clear description. The description adds only "from its link", which the schema already implies, so baseline applies.

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 specific verb (import), a specific resource (a recipe from a web page link), and the destination (the user's own recipes in Goma). This clearly separates it from create_recipe (manual authoring) and get_recipe (retrieving an existing entry).

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 from a web page... imported into Goma from its link" gives an explicit triggering condition, and the idempotency note covers the repeated-call case. It stops short of naming when to prefer a sibling such as create_recipe for manual entry, leaving that to inference.

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