Skip to main content
Glama

Grocery product details

market_product
Read-onlyIdempotent

Fetch one product's details and current price from a given store to confirm the price or discount of an item the user selected.

Instructions

Get one product's details and price in one store.

Use to confirm the current price/discount of an item the user picked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYesProduct id from a market_* product list.
vendor_codeYesStore code from market_search / market_stores, e.g. '32xxwe'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds only the purpose and a use case, without extra behavioral context like rate limits, auth needs, or response characteristics.

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 short sentences, front-loaded with the core action and followed by a usage note. No wasted words; every sentence earns its place.

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?

Given the tool's simplicity, 100% schema coverage, rich annotations, and an existing output schema, the description covers the essential purpose and usage. It could be slightly more complete by mentioning sibling alternatives for routing, but nothing critical 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 the schema fully documents both parameters (product_id and vendor_code). The description adds no additional semantic detail beyond what the schema provides, which is the baseline for high coverage.

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: 'Get one product's details and price in one store.' This clearly distinguishes it from list-oriented siblings like market_store_products, but does not explicitly name any alternative tool.

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?

Provides a clear use case: 'Use to confirm the current price/discount of an item the user picked.' It does not mention when not to use it or suggest alternatives such as market_search or market_find_cheapest.

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