Skip to main content
Glama

kroger_search

Read-only

Search Kroger products by keyword: normalized product cards with title, price, unit price, size, SNAP EBT eligibility, and low-stock flag. Page 1 is fully validated; pagination beyond page 1 is best-effort and should be treated as provisional.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "Query": "<Query>",
      "Sort": "<Sort>",
      "Brands": "<Brands>",
      "Nutrition": "<Nutrition>",
      "Flavor": "<Flavor>",
      "Scent": "<Scent>",
      "Savings": "<Savings>",
      "MoreOptions": "<MoreOptions>",
      "PriceMin": "<PriceMin>",
      "PriceMax": "<PriceMax>"
    },
    "name": "kroger_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
PageNoOne-based result page
SortYesResult order. One of: relevance, name_asc, popularity_desc. Documented values: relevance, name_asc, popularity_desc.
QueryYesSearch keyword
ScentYesComma-separated scent facet values
BrandsYesComma-separated brand names to filter by, taken verbatim from a previous response's facets
FlavorYesComma-separated flavor facet values
SavingsYesComma-separated savings facet values
PriceMaxYesUpper bound of the price filter; required to filter on price
PriceMinYesLower bound of the price filter; defaults to 0
NutritionYesComma-separated nutrition/dietary facet values
MoreOptionsYesComma-separated more-options facet values

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / Brands / description
      Added value: +"Comma-separated brand names to filter by, taken verbatim from a previous response's facets"
    • addedInput schema / properties / Flavor / description
      Added value: +"Comma-separated flavor facet values"
    • addedInput schema / properties / MoreOptions / description
      Added value: +"Comma-separated more-options facet values"
    • addedInput schema / properties / Nutrition / description
      Added value: +"Comma-separated nutrition/dietary facet values"
    • addedInput schema / properties / Page / description
      Added value: +"One-based result page"
    • addedInput schema / properties / PriceMax / description
      Added value: +"Upper bound of the price filter; required to filter on price"
    • addedInput schema / properties / PriceMin / description
      Added value: +"Lower bound of the price filter; defaults to 0"
    • addedInput schema / properties / Query / description
      Added value: +"Search keyword"
    • addedInput schema / properties / Savings / description
      Added value: +"Comma-separated savings facet values"
    • addedInput schema / properties / Scent / description
      Added value: +"Comma-separated scent facet values"
    • addedInput schema / properties / Sort / description
      Added value: +"Result order. One of: relevance, name_asc, popularity_desc. Documented values: relevance, name_asc, popularity_desc."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds real value beyond that by enumerating the returned card fields and by disclosing the reliability gradient between page 1 and later pages. The pagination honesty is exactly the kind of behavioral trait annotations cannot express. It stops short of describing ordering/stability of results across calls, which matters given idempotentHint=false.

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?

Two sentences with no filler, and the most decision-relevant content (what the tool returns) is front-loaded before the pagination caveat. Nothing could be removed without losing information.

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?

An output schema exists and annotations cover the safety profile, so the description needn't explain returns in depth, and it is complete enough to invoke correctly. The remaining gap, given 10 required parameters including facets and price bounds, is that it never signals when to populate those filters versus a bare keyword search.

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 every one of the 11 parameters is already documented in the schema, and the description adds no syntax, defaults, or interaction rules (e.g., that PriceMin/PriceMax must be combined, or how facet values relate to prior responses). The only mapping it implies is keyword-to-Query. Baseline 3 applies when the schema carries the parameter burden.

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 ("Search Kroger products by keyword") plus the shape of the result, so an agent knows exactly what operation this performs. It does not differentiate itself from adjacent siblings like kroger_products or kroger_suggest, leaving the agent to infer which entry point to use.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase "by keyword"; there is no explicit when-to-use versus kroger_products, kroger_category, or kroger_suggest. The one genuine guideline is the pagination caveat ("Page 1 is fully validated; pagination beyond page 1 is best-effort and should be treated as provisional"), which usefully tells the agent to trust deep pages less, but no exclusions or alternatives are named.

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.