Skip to main content
Glama

Shopping list

shopping_list
Read-only

Identify tracked consumables that are out or at minimum stock, see quantities left, and get suggested purchase amounts plus Amazon cart or search links before shopping.

Instructions

What to buy, run-out first: tracked consumables that have run out or are at or below their minimum (minQuantity, "keep at least"), with how many are left and a suggested amount to buy (and, for things bought on Amazon, amazonCart: an address that puts that many in the person's Amazon cart; for the rest, amazonSearch: a search on Amazon for its part/model number). Use it for "what do we need?" or before a shop; after buying, adjust_stock with a positive delta takes things off the list. Read-only.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description is consistent with them. Beyond that it explains the derivation rule (at or below minQuantity, 'keep at least'), the per-entry payload including amazonCart as an address that pre-fills a cart and amazonSearch for part/model numbers, and the lifecycle that removes items. It stops short of stating whether the list is exhaustive or truncated, which keeps it below a 5.

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?

The core concept and its threshold are front-loaded, and every clause carries information. However, it is a single long sentence with nested parentheses covering three sub-topics, which makes it denser to parse than necessary; splitting the Amazon-field explanation into its own sentence would improve scanability.

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?

There is no output schema, so the description must carry the return-value burden, and it does: it describes the entry fields, the Amazon cart/search variants, and the meaning of the threshold that selects items. Combined with read-only annotations and a param-free schema, an agent has everything needed to call this correctly and interpret the result.

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?

There are zero input parameters, so the baseline is 4 and no parameter explanation is required. The description wisely spends its words on semantics of the returned fields (minQuantity, suggested amount) instead of input arguments.

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?

The description names the exact resource ('tracked consumables that have run out or are at or below their minimum (minQuantity)') and the derived logic that produces it, not just 'shopping list'. It also enumerates what each entry contains (remaining count, suggested buy amount, amazonCart/amazonSearch), so an agent knows precisely what this returns versus the sibling list_* tools.

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?

It states the triggering intents explicitly ('Use it for "what do we need?" or before a shop') and names the follow-up tool and direction of correction ('after buying, adjust_stock with a positive delta takes things off the list'). An agent can decide to call this without inference and knows the adjacent action.

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