Skip to main content
Glama

Kroger Product Search

kroger_product_search
Read-onlyIdempotent

Search grocery products at Kroger-family supermarkets with real shelf prices, promo/sale prices, stock level, and aisle. Answers "how much does milk cost", "is X in stock", grocery price comparison. Give a zip_code (or location_id) to get store-specific prices; without one, only the national product catalog is returned (no prices). Example: kroger_product_search({ term: "whole milk", zip_code: "45202" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "term": "whole milk",
      "zip_code": "45202"
    },
    "name": "kroger_product_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYesProduct search term, e.g. "whole milk", "cage free eggs", "diet coke 12 pack"
brandNoOptional brand filter, e.g. "Kroger", "Organic Valley"
limitNoMax products to return, 1-50 (default 10)
_apiKeyNoOptional: your own Kroger API credentials as "client_id:client_secret" (free at developer.kroger.com)
zip_codeNoUS ZIP code, the nearest store is auto-selected so prices and stock appear
location_idNoExact store location_id from kroger_store_locator (overrides zip_code)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / zip_code / description
      Previous value: -"US ZIP code — the nearest store is auto-selected so prices and stock appear"New value: +"US ZIP code, the nearest store is auto-selected so prices and stock appear"
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "term": "whole milk",
      +    "zip_code": "45202"
      +  },
      +  {
      +    "brand": "Organic Valley",
      +    "location_id": "01400959",
      +    "term": "cage free eggs"
      +  }
      +]
  3. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description's real contribution is the behavioral caveat that omitting a location silently drops prices from the result set, which is valuable. It says nothing about rate limits, credential behavior without _apiKey, or result ordering, so it adds one strong fact but not rich context.

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?

Front-loaded with what it returns, then the location condition, then a single compact example call. No filler sentences; every clause carries either capability, caveat, or invocation syntax.

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?

No output schema exists, so the description could say more about result shape (per-store vs. catalog entries, pagination via limit, what happens with zero matches). For a six-parameter search tool with no annotations gaps to fill, it is adequate but leaves the return contract and the _apiKey fallback behavior unexplained.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema by explaining the price consequence of omitting zip_code/location_id and by showing a worked example of a valid call. The override relationship (location_id over zip_code) is only in the schema, and brand/limit are untouched in prose.

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 opens with a specific verb and resource ('Search grocery products at Kroger-family supermarkets') and enumerates exactly what data comes back: shelf prices, promo/sale prices, stock level, aisle. That is enough to separate it from a details lookup (kroger_product_details) without naming it.

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?

It gives concrete question shapes the tool answers ('how much does milk cost', 'is X in stock', price comparison) and an explicit conditional rule: supply zip_code or location_id for store-specific prices, otherwise only the national catalog with no prices. It does not name when to prefer kroger_product_details instead, so it stops short of a 5.

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.