Skip to main content
Glama

Find a Product Across Stores

find_product
Read-onlyIdempotent

Find a product and every store selling it, from the product graph: offers that stores state in their own product page data (schema.org Product/Offer), read by the pit.world crawler and joined across stores by barcode or part number. Give gtin (any UPC, EAN, ISBN-13 or GTIN-14; hyphens fine) or brand + mpn for an exact product, or q for words (a name, brand, part number or SKU; a bare barcode in q works too). host keeps one store. Each product has key, name, brand, gtin, mpn, stores, lowPrice + currency (only when every buyable offer shares one currency) and offers sorted buyable-first then cheapest: seller, host, price, currency, availability (schema.org word: InStock, OutOfStock, PreOrder...), condition, variant, offerUrl, seenAt. Prices are what the page said when last read, not live; quote seenAt with them. No store pays to be listed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoWords to match (optional), e.g. sony wh-1000xm5
mpnNoThe maker's part number, with brand (optional), e.g. GSR12V-300B22
gtinNoA UPC, EAN, ISBN-13 or GTIN-14 (optional), e.g. 0027242923232
hostNoOnly this store (optional), e.g. example-shop.com
brandNoBrand, with mpn (optional), e.g. Bosch
limitNoProducts to return, integer 1-50, default 10, e.g. 5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description adds materially beyond them: prices are page snapshots rather than live values (quote `seenAt`), `lowPrice`/`currency` appear only when all buyable offers share a currency, `offers` are sorted buyable-first then cheapest, and listing is not paid placement. Those are exactly the caveats an agent needs to avoid overstating price freshness.

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 purpose is front-loaded in the first clause and every sentence carries information. It is a dense single paragraph, though, and the field enumeration for the return shape makes it heavy to scan — line breaks or a short field list would improve readability without cutting content.

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?

There is no output schema, and the description compensates fully by enumerating returned product and offer fields plus sort order and the currency-aggregation rule. Combined with input-selection rules and the staleness caveat, an agent has everything needed to call this and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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, but the description adds real meaning beyond the schema's examples: `gtin` accepts any of UPC/EAN/ISBN-13/GTIN-14 with hyphens tolerated, `brand` must be paired with `mpn`, and `q` tolerates a bare barcode. `limit` is left to the schema, which already documents range and default.

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?

States a specific verb and resource — 'Find a product and every store selling it' — plus the data source (schema.org Product/Offer from the pit.world crawler, joined by barcode or part number). That scope is distinct from any plausible sibling like search_items or match_items, so an agent can route correctly without opening the schema.

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?

Gives clear selection rules among the identifier inputs: an exact product via `gtin` (any of UPC/EAN/ISBN-13/GTIN-14) or `brand` + `mpn`, or free words via `q` (which also accepts a bare barcode), with `host` to restrict to one store. It stops short of naming when to prefer this over generic item-search tools or what to do when no match is returned.

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.

Resources