Skip to main content
Glama
Cookidoo MCP Server

Cookidoo MCP Server

by herp75

Edit Shopping List Items

edit_shopping_list_items
DestructiveIdempotent

Rename manually added shopping list items by replacing the old name. Recipe ingredients are read-only; swap them by marking the original off and adding the replacement.

Instructions

Rename items that were added by hand. The old name is replaced.

Recipe ingredients are read-only: Cookidoo can't change their name or amount (the website can't either). To swap one, for example for an allergy, tick it off with mark_shopping_list_items and add the replacement with add_shopping_list_items, e.g. "1 Birne (statt Apfel im Brokkolisalat)".

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": "edit_shopping_list_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesList of {"id": ..., "name": ...} with IDs from get_shopping_list

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.3/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, and the description reinforces this with "The old name is replaced" plus the important limitation that recipe-sourced items are immutable server-side. It adds real context beyond the annotations, though it says nothing about permissions, batch limits, or what happens to recipe-linked IDs in the items array.

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?

Front-loaded with the core operation, then constraints, then the fallback workflow — a sensible order with no filler. The trailing example ("1 Birne (statt Apfel im Brokkolisalat)") is slightly cryptic about what it illustrates, the replacement item's name, which costs a little clarity.

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 so return values need no explanation, and the description covers purpose, the destructive replace semantics, and the read-only recipe constraint with a workaround. Minor gaps remain around the 50-item batch cap and behavior when an ID refers to a recipe-sourced item.

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 coverage is 100% and the schema already documents the items array, the id source ("Item ID from get_shopping_list"), and the 1-200 length bound on name. The description only implies that names must be for hand-added items; it adds no format or batching detail beyond the schema, so the baseline of 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 ("Rename items that were added by hand") and immediately adds the scope qualifier that distinguishes it from editing recipe-derived entries. An agent can tell this apart from mark_shopping_list_items or add_shopping_list_items without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the when-not (recipe ingredients are read-only, Cookidoo can't change name or amount) and prescribes the alternative workflow: tick off with mark_shopping_list_items and add the replacement with add_shopping_list_items. It even gives a concrete replacement-naming example, leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.