Skip to main content
Glama

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

Slet indkøbsliste

delete_shopping_list
DestructiveIdempotent

Use this only when the user has explicitly confirmed that they want one whole Goma shopping list deleted, with everything on it. Needs shoppingListId from get_shopping_lists. As in the Goma app, the user's last list can't be deleted, and a list shared with their household is deleted for the whole household. If it was the primary list, their newest other list becomes primary. Checked-off items stay in the user's purchase history.

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": {
      "shoppingListId": "<shoppingListId>"
    },
    "name": "delete_shopping_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
shoppingListIdYesFrom get_shopping_lists.

Output Schema

NameRequiredDescriptionDefault
urlYesThe shopping list on goma.gg.
nameYes
sharedYesThe list was shared with a group and is gone for the whole group.
deletedYes
shoppingListIdYes
primaryShoppingListIdYesThe user's primary list now; null when they have none.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond destructiveHint=true: it discloses that the last list cannot be deleted, that a shared list is removed for the entire household, that the newest other list is promoted to primary, and that checked-off items survive in purchase history. These are exactly the consequences an agent needs before confirming an irreversible action.

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?

The confirmation gate is front-loaded, then prerequisites, then consequences, with no filler sentences. Every clause carries a distinct, decision-relevant fact.

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?

An output schema exists so return values need no explanation, and the description covers the remaining burden for a destructive single-parameter tool: confirmation requirement, data source, blocking conditions, and downstream effects on household members and primary-list status.

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 the schema already documents it at 100% coverage, including the same 'From get_shopping_lists' provenance note. The description restates that provenance rather than adding new meaning such as format or validation constraints, so baseline 3 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 and resource ('delete one whole Goma shopping list, with everything on it'), and the qualifier 'whole ... with everything on it' distinguishes it from item-level siblings like remove_shopping_list_item and clear_checked_items without needing to name them.

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 gate — 'use this only when the user has explicitly confirmed' a full-list deletion — and states the prerequisite that shoppingListId comes from get_shopping_lists. It does not explicitly name the narrower alternative tools for removing individual items, so the routing to siblings is only implied.

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