Skip to main content
Glama

Remove items from my list

remove_from_list
DestructiveIdempotent

Remove products from the user's MyGroceryPal shopping list or saved items, by productIds from get_list. Confirm with the user first. Needs a MyGroceryPal account.

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": {
      "productIds": "<productIds>",
      "from": "<from>"
    },
    "name": "remove_from_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYes'list' keeps them saved; 'saved' deletes them entirely
productIdsYes

Output Schema

NameRequiredDescriptionDefault
fromYes
removedYes
savedListUrlYes
notFoundProductIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already carry destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds genuinely new behavioral requirements: confirm with the user before removing, and an account is required. It does not describe the cross-effects of the 'from' choice beyond what the schema enum already says.

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?

Three short sentences, front-loaded with the action and scope, followed by the confirmation rule and the account prerequisite. No filler or repetition.

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?

For a two-parameter destructive tool with rich annotations and an output schema, the description covers purpose, prerequisite, and the confirmation step. Return values need not be explained, though a note on partial failures or the 40-item cap would round it out.

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 50%, and the enum on 'from' already documents that 'list' keeps items saved while 'saved' deletes them entirely. The description's only added parameter meaning is that productIds should come from get_list, which the schema item description already states, so it adds little beyond structured data.

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 (products on the shopping list or saved items), and scopes it to productIds sourced from get_list. It cleanly separates the two targets ('list' vs. 'saved') without opening a schema, though it never names add_to_list as the inverse operation an agent might confuse it with.

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

Usage Guidelines3/5

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

Implies the correct sequence by saying IDs come 'from get_list' and adds a prerequisite (MyGroceryPal account) plus a confirmation rule. It gives no explicit when-not-to-use guidance or direction to sibling tools such as add_to_list, so usage is inferred 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