Skip to main content
Glama

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

Læg i spisekammeret

add_pantry_items

Use this when the user says they have groceries at home, e.g. from a photo of their fridge, to save them in their Goma pantry (spisekammer), up to 30 at once. Generic names such as mælk or løg are fine; a productId from an earlier result saves that exact product. Without an amount Goma notes the item as available. An item already in the pantry gets the amount added.

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": {
      "items": "<items>"
    },
    "name": "add_pantry_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Output Schema

NameRequiredDescriptionDefault
urlYesThe user's pantry (spisekammer) on goma.gg.
countYesItems saved.
itemsYesThe saved items as they are now.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=false; the description goes further by disclosing merge semantics ('an item already in the pantry gets the amount added') and the default of marking an item as available when no amount is given. The 30-item cap and the name-vs-productId tradeoff are also behavioral facts not in the annotations. It stops short of saying what the response contains, but an output schema exists.

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?

Four short sentences, front-loaded with the usage trigger before the naming rules and merge behavior. No filler, though the phrase 'in their Goma pantry (spisekammer)' repeats the title's information for little added benefit.

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 single-array mutation tool with annotations and an output schema, this covers the essentials: what is written, the batch limit, how names versus IDs are resolved, and what happens on duplicates. Only the per-item flags (isStaple, excludeFromShopping) are left to the schema, which is reasonable.

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 reported at 0% for the top-level parameter, so the description has to carry meaning, and it explains the key choice: generic Danish names like mælk/løg are acceptable, while a productId pins an exact product. It also explains that omitting an amount is valid, implying the quantity fields are optional. It does not mention isStaple or excludeFromShopping, though those carry their own schema descriptions.

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 action and destination: save groceries into the Goma pantry (spisekammer), with a hard scope of up to 30 at once. The pantry destination distinguishes it in substance from the add_*_to_shopping_list siblings, but no alternative is named, so the routing is inferred rather than stated.

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 a concrete triggering condition: 'when the user says they have groceries at home, e.g. from a photo of their fridge,' which is unusually actionable. It does not say when NOT to use it (e.g. items that should go straight to the shopping list), so there is clear context but no exclusions.

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