Skip to main content
Glama

Kroger Product Details

kroger_product_details
Read-onlyIdempotent

Get full detail for one grocery product by its product_id, price, promo price, stock level, size, categories, aisle location, images. Pass zip_code or location_id for store-specific price/stock. Example: kroger_product_details({ product_id: "0001111041700", 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": {
      "zip_code": "45202",
      "product_id": "0001111041700"
    },
    "name": "kroger_product_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
_apiKeyNoOptional: your own Kroger API credentials as "client_id:client_secret"
zip_codeNoUS ZIP code, nearest store auto-selected for price/stock
product_idYes13-digit Kroger product ID from kroger_product_search
location_idNoExact store location_id (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 — nearest store auto-selected for price/stock"New value: +"US ZIP code, nearest store auto-selected for price/stock"
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "product_id": "0001111041700",
      +    "zip_code": "45202"
      +  },
      +  {
      +    "location_id": "01400959",
      +    "product_id": "0001111041700"
      +  }
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds useful behavioral context about store-scoped versus default pricing and stock, but says nothing about rate limits, authentication fallback via _apiKey, or what happens when a zip_code has no nearby store.

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 key verb and resource lead, followed by the returned fields, then a usage condition and a worked example — a good front-loaded structure. The enumerated return-field list is a slightly run-on comma sequence, but nothing is redundant enough to waste space.

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?

With no output schema, the description compensates by naming the fields a caller gets back, and it explains both store-scoped and default-price invocation modes. For a simple single-item read tool with rich annotations, that is close to sufficient; only error/degradation behavior for bad IDs or unmatched ZIPs is unaddressed.

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 100%, so all four parameters are already documented, including location_id overriding zip_code and product_id's 13-digit format. The description reinforces the optional store-scoping parameters and adds a concrete example call, but contributes no semantics the schema lacks, which is the baseline-3 case.

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?

The description opens with a specific verb and resource ("Get full detail for one grocery product by its product_id") and enumerates exactly what detail is returned: price, promo price, stock level, size, categories, aisle location, images. The reference to kroger_product_search as the source of the product_id implicitly separates this single-item lookup from the search sibling, though it never states that contrast as an alternative.

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 supplies a clear conditional: pass zip_code or location_id when store-specific price/stock is needed, which tells the agent when the extra parameters matter. It stops short of explicit exclusions or a stated rule for choosing between zip_code and location_id (that precedence only appears in the schema), so it is clear context without full routing guidance.

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.