Skip to main content
Glama

remove_recipe_from_grocery_list

Destructive
Take back what one "Recipes on this list" entry added to the connected
account's grocery list -- requires Subscriber. Items only that entry
needed are removed; an item another entry also needs stays with its
amount reduced, and items typed in by hand are never touched. A recipe
added twice has two entries, so this removes one addition at a time.
Call get_grocery_list afterward to see what's left.

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": {
      "link_id": "<link_id>"
    },
    "name": "remove_recipe_from_grocery_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_idYesThe entry's `id` in get_grocery_list's `recipes` (one per time a recipe was added). Not the recipe's own id.
session_tokenNoThe session token check_agent_connection returned for the connected account. Required, unless it's sent as an Authorization: Bearer header on the MCP request instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by explaining the destructive scope is partial: shared items stay with a reduced amount, hand-typed items are untouched, and a twice-added recipe needs two calls because each entry is removed separately. It also discloses the Subscriber requirement, an auth prerequisite the annotations cannot convey.

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?

Front-loads the core action and its precondition, then layers the partial-removal semantics and the recommended follow-up. Every sentence adds distinct information; nothing repeats the schema or annotations.

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?

Without an output schema, the description compensates by telling the agent to re-read state via get_grocery_list, and it covers subscription requirement, partial effects, duplicate entries, and untouched manual items. An agent has everything needed to call it correctly and interpret the aftermath.

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 100% and the link_id description already distinguishes entry id from recipe id, so the schema carries most of the load. The description nonetheless reinforces the cardinality semantics ('a recipe added twice has two entries, so this removes one addition at a time'), which helps an agent understand that link_id identifies a single addition rather than a recipe.

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?

Names a specific verb (remove) and a precisely scoped resource: one 'Recipes on this list' entry's contribution to the grocery list. The phrasing 'Take back what one entry added' plus 'items typed in by hand are never touched' carves out a distinct domain from sibling tools like remove_grocery_list_item and clear_grocery_list.

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 clear triggering context (undoing one recipe addition, requiring Subscriber) and a follow-up step ('Call get_grocery_list afterward'), and implies that hand-typed items belong to a different tool. It does not name remove_grocery_list_item or clear_grocery_list explicitly as the alternatives, so the exclusion is inferential rather than stated.

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