Skip to main content
Glama

Add to my list

add_to_list
Idempotent

Add products to the user's MyGroceryPal shopping list, for the app, the web and deal alerts. Only adds. 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": {
      "items": "<items>"
    },
    "name": "add_to_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
storeNoWhere the user will buy them

Output Schema

NameRequiredDescriptionDefault
addedYes
listCountYes
addedCountYes
savedListUrlYes
alreadyOnListYes
alreadyOnListCountYes
notFoundProductIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is largely covered. The description adds real context not in annotations: the account requirement, the additive-only nature ('Only adds'), and that changes surface in the app, web and deal alerts. Duplicate handling and error behavior when unauthenticated are left unstated.

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?

Three terse, front-loaded sentences with no filler; scope comes first, constraint and prerequisite follow. The phrase 'for the app, the web and deal alerts' is slightly ambiguous in framing but still informative.

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 tool with a full annotation set and an output schema, the description covers purpose, mutation semantics, cross-surface effect and auth prerequisite. Remaining gaps (item count limits, duplicate behavior, store selection rationale) are minor and mostly covered by the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, so the description should compensate but adds nothing about the two parameters. It never mentions the items array, the productId sourcing rule, quantity bounds (1-99) or the 40-item cap, nor the store enum's meaning beyond 'where the user will buy them' being schema-side.

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 and resource: adds products to the user's MyGroceryPal shopping list. 'Only adds' implicitly separates it from remove_from_list and get_list without naming them, so an agent can distinguish it from mutation-heavy or read siblings.

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?

Implied usage is clear from 'Add products to the user's ... shopping list' and 'Only adds', plus the prerequisite 'Needs a MyGroceryPal account'. However, no explicit when-to-use-vs-alternative guidance is given (e.g. use get_list to verify, price_shopping_list to find productIds), leaving routing to inference from sibling names.

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