Skip to main content
Glama

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

Ryd afkrydsede varer

clear_checked_items
DestructiveIdempotent

Use this when the user wants the checked-off (købt) items removed from their Goma shopping list, as clearing checked items does in the Goma app. Removes every checked item on the list and returns how many were removed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clear_checked_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
shoppingListIdNoFrom get_shopping_lists. Omit to use the user's primary list.

Output Schema

NameRequiredDescriptionDefault
urlYesThe shopping list on goma.gg.
nameYes
clearedCountYesChecked items removed; 0 when none were checked.
shoppingListIdYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered elsewhere. The description adds real value beyond that by stating the blast radius ("removes every checked item") and confirming partial mutation of the list rather than deletion of the list itself. It stops short of saying what happens when no items are checked or whether confirmation is expected.

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 usage trigger, with zero padding. The "as clearing checked items does in the Goma app" clause is mildly redundant but does help ground the behavior in the user's mental model.

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?

With an output schema present, the return value needs no elaboration, and the description still mentions the count as a courtesy. Rich annotations plus full schema coverage mean the only residual gap is edge-case behavior (empty result, confirmation flow), which is minor for this complexity.

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 optional parameter already documents its fallback to the user's primary list via get_shopping_lists. The description never mentions shoppingListId, so it adds no meaning beyond the schema; the 3 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?

The description pairs a specific verb ("removed") with a specific resource and scope ("every checked item on the list"), which makes it clearly distinct from a single-item toggle like check_shopping_list_item or a whole-list delete. The parenthetical "(købt)" also disambiguates the local-language concept.

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?

It opens with an explicit when-to-use trigger: "Use this when the user wants the checked-off (købt) items removed from their Goma shopping list." That is a clear positive condition, but no when-not-to-use case or named alternative is given, so it stops short of a 5.

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