Skip to main content
Glama

grocery_product

Read-only

Fetch one grocery product detail page (title, brand, price, list price, GTIN, images, description, breadcrumbs) from the chain's own structured data by chain plus id or url. REWE has no machine-readable product-detail document; use grocery_search for its rows.

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": {
      "chain": "<chain>"
    },
    "name": "grocery_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNothe chain product id returned by grocery_search
urlNofull storefront product page URL, used when the id is unknown
chainYesStorefront: albert-heijn, jumbo, lidl, rewe or carrefour

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. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false, so safety is covered. The description adds real context beyond them: data comes from the chain's own structured data (not scraping), and one chain (REWE) is unsupported, which is the kind of per-source limitation annotations cannot express.

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?

Two sentences, front-loaded with the core action and the payload, then the REWE caveat. The field enumeration is long-ish but earns its place as a quick relevance signal; nothing is filler.

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, so return-shape explanation is not required, and the description correctly focuses on source, keys, and the one unsupported chain. Slightly more on what happens with an invalid id/url combination would make it complete, but nothing essential for calling it is missing.

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 chain, id and url are already documented, including that url is used when the id is unknown. The description restates "by chain plus id or url" without adding format or constraint details, so it sits at the baseline for high-coverage schemas.

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?

Uses a specific verb and resource ("Fetch one grocery product detail page") and enumerates the returned fields (title, brand, price, list price, GTIN, images, description, breadcrumbs). It also distinguishes itself from the sibling grocery_search by naming it as the fallback for REWE, so an agent can route correctly.

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?

Explicitly states the lookup keys (chain plus id or url) and gives one hard exclusion: REWE has no machine-readable product-detail document, so use grocery_search instead. It does not spell out precedence between id and url beyond the schema, but the usage context is otherwise unambiguous.

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.