Skip to main content
Glama

AI ReFounder Shopping

Search products

search_products
Read-only

Search products across independent online stores by what the shopper wants. Returns title, store, price (and the was-price when discounted), stock, image and a link to buy on the store's site, best matches first.

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>"
    },
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many products, 1 to 20. Default 8.
queryYesWhat the shopper is looking for, in plain words: "warm snowboard for beginners", "blue light glasses". Put price limits in max_price / min_price, not here.
currencyNoCurrency of max_price / min_price, a 3-letter code (USD, CAD, EUR). Default USD. With a price limit, only products priced in this currency are returned.
max_priceNoOptional highest price, in `currency`.
min_priceNoOptional lowest price, in `currency`.
in_stock_onlyNoOnly products in stock. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive and open-world, so the safety profile is covered. The description adds value the annotations cannot: it enumerates the returned fields (title, store, price, was-price when discounted, stock, image, buy link) and states the ranking ('best matches first'), which matters because there is no output schema. It stops short of covering pagination behavior or zero-result cases, so it is strong but not exhaustive.

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, zero waste, and front-loaded: purpose first, then the return payload and sort order. Nothing restates the tool name or the schema.

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?

For a six-parameter, annotation-covered read tool with no output schema, the definition covers the two things structured data does not: what comes back and in what order. Currency filtering and stock defaults are handled in the schema, so nothing an agent needs in order to call this correctly 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 coverage is 100%, so all six parameters are already documented, including the currency/price-limit coupling and the in_stock_only default. The description adds no parameter-level meaning beyond that; it spends its words on the result shape instead. Baseline 3 is appropriate when the schema does the heavy lifting.

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 (search) and resource (products) plus the scope: 'across independent online stores by what the shopper wants.' That scope implicitly separates it from the sibling list_stores, which enumerates stores rather than products, so an agent can pick between them without opening either schema.

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 'by what the shopper wants' — the agent can infer this is for product-seeking queries, but there is no explicit when-to-use/when-not statement and no named alternative. The only real routing guidance lives in the schema (keep price limits in max_price/min_price, not in query), which is parameter guidance rather than tool selection.

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