Skip to main content
Glama

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

Fjern fra spisekammeret

remove_pantry_item
DestructiveIdempotent

Use this when the user wants one item removed from their Goma pantry (spisekammer), e.g. because it is used up. Needs pantryItemId from get_pantry.

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": {
      "pantryItemId": "<pantryItemId>"
    },
    "name": "remove_pantry_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
pantryItemIdYesFrom get_pantry or add_pantry_items.

Output Schema

NameRequiredDescriptionDefault
removedYes
pantryItemIdYes

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?

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the core behavior profile is covered structurally. The description adds a useful prerequisite (ID must come from get_pantry) but says nothing about permanence, error behavior on an unknown ID, or what happens to quantity/other fields — modest added value on top of the annotations.

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?

Two short sentences with zero filler; the usage trigger is front-loaded before the parameter prerequisite. Nothing could be cut without losing information.

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 and annotations carry the safety profile, so the description only needs the trigger and the ID provenance, both of which are present. It is slightly thin on failure modes (invalid or stale pantryItemId), which matters for a destructive operation, but nothing essential is missing.

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?

Only one parameter and schema description coverage is 100%: the schema already documents pantryItemId as a UUID sourced from get_pantry or add_pantry_items. The description merely restates that provenance, adding no new meaning, so the baseline 3 applies.

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 (remove) and resource (one item from the Goma pantry), and the phrase 'spisekammer' plus the pantry framing distinguishes it from remove_shopping_list_item. It never names a sibling explicitly, so differentiation comes from domain wording rather than routing guidance.

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 clear trigger condition — the user wants one item removed, e.g. because it is used up — and states the prerequisite of having a pantryItemId from get_pantry. It stops short of stating when NOT to use it or naming alternatives, so it lands at clear-context rather than full routing guidance.

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