Skip to main content
Glama
yifei-ding

my-grocery-mcp

by yifei-ding

get_product

Fetch full product details for a specific grocery chain and product ID, including price, brand, size, unit price, tags, category, image, and promotions. Use a search result ID to drill into an item.

Instructions

Fetch full product details for a specific chain + product ID pair. Returns price, brand, size, unit price, tags, category, image URL, and active promotions. Obtain product IDs from search_products. Useful for drilling into a search result. Use for "get details for this Migros product" or "what is the unit price of this item?".

Input Schema

NameRequiredDescriptionDefault
idYesChain-specific product identifier, e.g. Migros cumulus ID or Coop product number. Obtain via search_products.
chainYesThe grocery chain that owns this product ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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 lists the returned fields (price, brand, size, etc.) and states that it fetches details, but does not disclose potential side effects, authentication needs, or rate limits. The behavior is sufficiently clear for a read-only fetch.

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?

The description is three sentences, front-loaded with the core purpose, and contains no redundant information. Every sentence contributes value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has only 2 simple parameters and no output schema, the description fully explains what the tool does, what it returns, and how to get the required inputs. It is complete for its complexity.

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 coverage is 100%, so the baseline is 3. The description adds minimal additional meaning: it reiterates the 'chain' parameter as 'the grocery chain' and 'id' as 'chain-specific product identifier', and mentions obtaining via search_products, which is already in the schema.

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 clearly states the verb 'Fetch', the resource 'product details', and the specific scope 'for a specific chain + product ID pair'. It distinguishes itself from sibling tools like search_products by explaining what it does differently.

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?

The description explicitly instructs to obtain product IDs from search_products and provides example use cases like 'get details for this Migros product'. It implies when to use this tool but does not explicitly mention when not to use it or alternatives beyond search_products.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.