Cheapest Grocery Basket
Server Details
Where to buy a whole grocery list today: local prices, per-unit and cross-store comparison.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.3/5 across 3 of 3 tools scored.
Each tool targets a distinct task: single item lookup, per-store basket pricing, and cross-store optimization. While price_basket and cheapest_basket both handle shopping lists, their descriptions clearly differentiate outputs (per-store totals vs. optimized plan with savings). Still, an agent could briefly confuse them for the same query, so not a perfect 5.
Two tools follow a verb_noun pattern (find_product, price_basket), but cheapest_basket is a noun phrase, breaking the pattern. All names are lowercase and use underscores, but the lack of a fully consistent convention makes naming slightly unpredictable.
Three tools is a well-scoped set for the grocery pricing domain: single item compare, entire basket per store, and cross-store optimizer. Each tool has a clear role with no redundancy, matching the calibration HIGH example.
The surface covers all core shopper workflows: find a product, price a whole list at one store, and get the optimal multi-store plan. No missing operations (e.g., store management, price updates) are required for the stated purpose of answering grocery buying decisions.
Available Tools
3 toolscheapest_basketCheapest way to buy a whole list, including splitting storesAInspect
The complete buying decision for a shopping list: the cheapest single store that can fill it, AND the cross-store optimum that buys each line wherever it is cheapest, with the dollar savings between them and how many stops that costs. Every line carries substitutes at the other stores with the exact extra cost of choosing them, so a shopper can collapse a two-stop trip into one and see precisely what that convenience costs. Out-of-stock items are skipped in favour of an in-stock option even when it is dearer. Use this as the default for "where should I buy this list today" — it is the one call that answers the whole question. Costs $0.20 USDC per call via x402 on Base.
| Name | Required | Description | Default |
|---|---|---|---|
| zip | Yes | 5-digit US ZIP code, e.g. '30501'. | |
| mode | No | Optional fulfillment intent: 'pickup' or 'delivery'. | |
| items | Yes | Comma-separated shopping list, optionally with quantities, e.g. 'milk x2, eggs, bread, butter, cheese'. A JSON array of {name, quantity} is also accepted. | |
| stores | No | Optional comma-separated chains the shopper is willing to visit, e.g. 'aldi,publix'. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It covers significant behaviors: out-of-stock items are skipped in favor of in-stock even if dearer, it compares single-store vs cross-store with savings and stop counts, and it discloses the $0.20 USDC cost per call. It does not cover edge cases like invalid zip or no matching stores, but for a query tool this is acceptable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is longer than average but every sentence earns its place. It front-loads the core purpose in the first sentence, then adds concrete details about savings, stops, substitutes, and out-of-stock policy, followed by usage context and cost. It is structured and avoids fluff, though it could be tightened slightly without losing value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Since there is no output schema, the description must convey what the tool returns. It does so: dollar savings, number of stops, per-line substitute costs, and out-of-stock handling. It also states the cost per call. It gives an agent enough to understand the response shape and invoke it correctly. Missing details like error conditions or return format edge cases are minor for this use case.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description already covers all parameters at 100%, so the baseline is 3. The description adds little beyond the schema: it mentions that items can have quantities and that stores are optional, but these are already in the schema. It does not explain the nuances of the mode parameter or how to handle the JSON array vs comma-separated format beyond what the schema states.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names the specific verb 'buy' and resource 'shopping list', and clarifies it provides both the cheapest single store and the cross-store optimum. It explicitly distinguishes itself as 'the one call that answers the whole question', setting it apart from the sibling tools find_product and price_basket.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives clear when-to-use guidance: 'Use this as the default for "where should I buy this list today"'. This tells the agent this is the go-to tool for the comprehensive question. However, it does not explicitly mention when NOT to use it or direct to siblings for narrower queries, so it misses the 'alternatives' part of ideal guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_productCompare one grocery item across nearby storesAInspect
Compare a single grocery item across every collected store in a ZIP. Returns each store's actual current shelf price, whether it is on sale (and the regular price), the package size, the price normalized per comparable unit, stock, a purchase link, and when that price was last read. Use this to answer "who has the cheapest milk near me" — and note the answer reports BOTH the lowest sticker price and the best value per unit, which frequently disagree because the cheap sticker is a smaller package. For a whole shopping list use price_basket or cheapest_basket instead; calling this per item costs more and cannot optimize across stores. Costs $0.01 USDC per call via x402 on Base.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The item to price, in ordinary shopper language, e.g. 'milk', 'eggs', 'ground beef'. | |
| zip | Yes | 5-digit US ZIP code to price against, e.g. '30501'. Coverage is per collected ZIP; an uncovered ZIP returns an explicit error and is not charged. | |
| stores | No | Optional comma-separated chains to restrict to, e.g. 'aldi,publix'. Omit to compare every collected store. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It thoroughly details what the tool returns (shelf price, sale status, regular price, package size, per-unit price, stock, link, timestamp), the cost per call, and error behavior for uncovered ZIPs. It does not explicitly state 'read-only' or cover all side effects, but the description strongly implies a non-mutating lookup and adds valuable context like the dual-price nuance.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Although the description is longer than many, every sentence delivers unique information: the core purpose, return fields, a usage example, a clarification about the two price metrics, guidance to sibling tools, and cost. It is front-loaded with the primary action and maintains tight structure without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 explain return values. It lists every field the caller can expect. It also covers edge cases (uncovered ZIP returns explicit error and is not charged), the cost, and the distinction between sticker price and per-unit value. For a three-parameter tool with no output schema, this is complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the input schema already documents all parameters clearly. The description does not add significant new meaning beyond saying 'q' is in ordinary shopper language, which the schema already states. Since the schema does the heavy lifting, a baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Compare a single grocery item across every collected store in a ZIP.' It also explicitly distinguishes itself from siblings by naming them in the usage guidance, so an agent can immediately tell this tool apart from price_basket and cheapest_basket.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use: for answering 'who has the cheapest milk near me' for a single item. Clearly says when NOT to use: for a whole shopping list, use price_basket or cheapest_basket instead, and explains why (cost and inability to optimize). The cost disclosure is also included.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
price_basketPrice a whole shopping list at each storeAInspect
Price an entire shopping list at every collected store in a ZIP, one complete basket per store. Returns per-store line items with quantities and line totals, the basket subtotal, exactly which requested items that store is missing, whether the basket is complete, stock flags, and the oldest price in the basket so staleness is visible. Use this when the shopper will make one trip and wants to know where the whole list is cheapest. Accepts quantities as 'milk x2'. Costs $0.05 USDC per call via x402 on Base.
| Name | Required | Description | Default |
|---|---|---|---|
| zip | Yes | 5-digit US ZIP code, e.g. '30501'. | |
| mode | No | Optional fulfillment intent: 'pickup' or 'delivery'. Recorded on the response; delivery fees and minimums are not collected yet and are returned as null rather than estimated. | |
| items | Yes | Comma-separated shopping list, optionally with quantities, e.g. 'milk x2, eggs, bread, butter'. A JSON array of {name, quantity} is also accepted. | |
| stores | No | Optional comma-separated chains to restrict to, e.g. 'aldi,publix'. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses that delivery fees and minimums are not collected yet and are returned as null, that it returns the oldest price to indicate staleness, and that it costs $0.05 USDC per call. This is substantial behavioral context beyond what a schema would provide, though it does not cover rate limits or authentication specifics.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and efficient: it starts with the primary purpose, lists the key return values, gives usage guidance, and ends with cost. Every sentence contributes necessary information without redundancy or fluff. It is front-loaded and easily scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given there is no output schema, the description does a good job enumerating what the agent can expect in the response (line items, totals, missing items, completeness, stock flags, oldest price). It also covers the delivery fee null behavior and pricing. It does not mention error cases (e.g., no stores found) or pagination, but for a pricing tool these are minor gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. However, the description adds meaningful context beyond the schema: it explains how the 'mode' parameter behaves (delivery fees are null), provides a concrete example of quantity formatting ('milk x2') and notes that a JSON array is also accepted. This extra detail helps the agent correctly encode inputs, raising it above baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: it prices a complete shopping list at every store in a ZIP code and returns per-store line items, subtotals, and missing items. This is a specific verb (price) and resource (shopping list across stores), and it distinguishes itself from the sibling cheapest_basket by emphasizing per-store results and completeness rather than just the cheapest single option.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives a clear usage context: 'Use this when the shopper will make one trip and wants to know where the whole list is cheapest.' This is explicit guidance, though it does not mention when to avoid it or explicitly compare to alternatives like cheapest_basket. The cost mention also serves as a practical consideration, but the differentiation between tools is not fully spelled out.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables searching products, comparing prices, and building optimal shopping lists across major Chilean supermarkets, using your local machine to access real-time prices and loyalty deals.1411062MIT
- FlicenseNot gradedqualityDmaintenanceEnables cross-store price comparison and recipe-driven cart automation for Israeli grocery stores Shufersal and Tiv Taam, with an extensible architecture for additional stores.
- FlicenseNot gradedqualityDmaintenanceProvides grocery price and nutritional information search capabilities, allowing AI agents to search for food products, compare prices, and analyze nutritional content across different grocery stores.1
- AlicenseAqualityBmaintenanceA Model Context Protocol server for real-time Swiss grocery shopping that searches and compares products across 8 major Swiss retailers (Migros, Coop, Aldi, Denner, Lidl, Farmy, Volgshop, Otto’s), normalizes per-unit prices, surfaces promotions, computes optimal multi-store shopping plans, and works with any MCP-compatible client without API keys or accounts.79527AGPL 3.0