Skip to main content
Glama

add_to_list

Add an item to the shopping list (duplicates of open items are not added twice). Pass pantry_item_id to link it to a pantry item (from list_shopping suggestions), or add_suggestions=true to add every suggestion.

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

Input Schema

NameRequiredDescriptionDefault
qtyNo
nameNo
unitNo
notesNo
pantry_item_idNo
add_suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the idempotency rule ('duplicates of open items are not added twice'), which is real behavioral context. It doesn't say what happens if add_suggestions=true matches zero suggestions, whether adding a suggestion consumes it, or what the tool returns.

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 core action and the anomaly-prevention rule before the optional modes. Efficient, though the second sentence packs two distinct modes with 'or' in a way that reads slightly run-on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter, zero-coverage write tool with no annotations and no output schema, the description is only partly complete: it omits the primary item fields (name/qty/unit/notes) and doesn't define 'open items'. The core add-and-dedupe behavior and one linking path are covered.

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 0% across six parameters, so the description must compensate. It explains pantry_item_id and add_suggestions (including that pantry_item_id comes from list_shopping), but leaves name, qty, unit, and notes entirely undocumented; with zero required parameters an agent cannot tell what makes a valid item.

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: 'Add an item to the shopping list', plus the dedupe rule and the two linking modes. It names list_shopping as the source of suggestions, which helps separate it from that read tool, but it doesn't distinguish itself from add_pantry_item, the other add-style sibling.

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?

Tells the agent the two intended invocation modes: pass pantry_item_id to link an existing pantry item, or add_suggestions=true to add all suggestions. That is clear conditional usage, but there is no guidance on when to use neither mode (a plain manual item) or which to prefer if both are supplied.

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