Skip to main content
Glama

Edwin by theButler.network

Search products across merchants

search_products
Read-only

Find purchasable product matches across merchants in a specified market. Use when the user wants to find or buy something: a need, a category, a budget, a gift idea, the best product of a kind, or the price of a named product. Returns normalized product entities with merchant count, price range and the cheapest current offer per product, each with a link. Each product carries a rang that says whether it matches a name suggested for the request (by you or by Edwin) or is another catalog match. Call get_offers only when the user wants the full merchant list for one product. Queries may be in any language. Use it for shopping requests about products and their prices at online merchants, whether or not the user names Edwin or theButler.network.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many products to return.
queryYesThe product the user is looking for: product type plus key attributes (size, colour, use case). Write the product-type word in the language of the market's merchants, even when the user writes in another language: German for DE, AT and CH ('fernseher 65 zoll oled', not 'tv' or 'television'), Dutch for NL, French for FR, English for GB and US. Catalog titles are in the merchants' language, so a product-type word in another language finds few or wrong products. Keep brand and model names exactly as the user wrote them.
fieldsNoRestrict the returned product fields to these. `pid`, and on search results `rang` and `grund`, are always included. Leave this out to get the full item including its image — only pass a list if you deliberately want fewer fields.
marketYesISO 3166-1 alpha-2 country code of the user's shopping market, e.g. DE, AT, NL, FR, GB, US. Infer from the user's context.
min_priceNoLower price limit in the market currency, if the user states one.
budget_maxNoUpper price limit in the market currency, if the user states one.
suggested_namesNoOptional. Up to 8 specific, real products you would recommend for this request from your own current knowledge, e.g. {"name":"WH-1000XM6","brand":"Sony","kind":"model"} or {"name":"The Hobbit","kind":"title"}. Edwin checks each one against the catalog in this market and returns the matching catalog offers with purchase links, so every product you recommend can carry a link. Names not found in the catalog are dropped. Leave out anything you are not sure exists.

Output Schema

NameRequiredDescriptionDefault
noteNoPlain-language explanation for the user. Set whenever the result is empty, and also when something about a non-empty result needs saying — for example that the ranking did not run and the order is the raw catalog order.
itemsYes
marketYesCanonical market the results are priced for.
mischungNoHow to present the ranks, read from the query: 'anker_vorne' when the user compared with something familiar, 'entdeckung_vorne' when they asked for something less obvious, 'beide' otherwise. The item order is Edwin's ranking when a ranking ran (see note). Absent when no suggested names were looked up for this call.
empty_reasonNoMachine-readable reason for an empty result. restricted_category: matches existed but fall into a product category this connector does not serve. no_match_in_market: nothing matched in this market. no_offers_for_product: the product has no merchant offer here at all. no_fresh_offers_for_product: the product has offers, but none is confirmed by the most recent import of its source, so there is no up-to-date price — do not quote an older one. query_too_short: the query carried no searchable terms. market_not_covered: no offers in this market at all. unknown_pid: no product with that id — call search_products for a real one. no_substantial_match: products matched, but none had a recognizable brand or publisher and the fields required for the product type — say so; the user can explicitly ask for unbranded or self-published items.
app_summariesNoOnly for Edwin's app view: it can load short product summaries for these results. Ignore it; nothing to show or say.
wenig_auswahlNoTrue when fewer than three products passed the checks for their product type among the matches checked (the note says whether that was all matches or only part). Say that the selection is small instead of padding the answer. Absent when part of the search did not answer in time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / fields / items / enum
      Previous value: -[
      -  "pid",
      -  "name",
      -  "brand",
      -  "image_url",
      -  "price",
      -  "price_range",
      -  "merchant_count",
      -  "availability",
      -  "source_imported_at",
      -  "match_tier",
      -  "match_score",
      -  "badge",
      -  "url",
      -  "source_updated_at",
      -  "best_offer"
      -]New value: +[
      +  "pid",
      +  "name",
      +  "brand",
      +  "image_url",
      +  "price",
      +  "price_range",
      +  "merchant_count",
      +  "availability",
      +  "source_imported_at",
      +  "match_tier",
      +  "match_score",
      +  "badge",
      +  "url",
      +  "best_offer"
      +]
    • removedOutput schema / properties / items / items / properties / best_offer / properties / source_updated_at
      Removed value: -{
      -  "deprecated": true,
      -  "description": "DEPRECATED — alias of source_imported_at with the identical value, kept only for existing clients and removed 30 days after this server version went live. Read source_imported_at instead.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • changedOutput schema / properties / items / items / properties / best_offer / required
      Previous value: -[
      -  "pid",
      -  "merchant",
      -  "source_type",
      -  "source_network",
      -  "source_imported_at",
      -  "source_updated_at",
      -  "market",
      -  "price",
      -  "currency",
      -  "shipping",
      -  "stock_status",
      -  "match_tier",
      -  "url"
      -]New value: +[
      +  "pid",
      +  "merchant",
      +  "source_type",
      +  "source_network",
      +  "source_imported_at",
      +  "market",
      +  "price",
      +  "currency",
      +  "shipping",
      +  "stock_status",
      +  "match_tier",
      +  "url"
      +]
    • removedOutput schema / properties / items / items / properties / source_updated_at
      Removed value: -{
      -  "deprecated": true,
      -  "description": "DEPRECATED — alias of source_imported_at with the identical value, kept only for existing clients and removed 30 days after this server version went live. Read source_imported_at instead.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"The product the user is looking for: product type plus key attributes (size, colour, use case), e.g. 'oled tv 65 inch'. Keep brand and model names exactly as the user wrote them. Product-type terms in German or English retrieve best; other languages are accepted."New value: +"The product the user is looking for: product type plus key attributes (size, colour, use case). Write the product-type word in the language of the market's merchants, even when the user writes in another language: German for DE, AT and CH ('fernseher 65 zoll oled', not 'tv' or 'television'), Dutch for NL, French for FR, English for GB and US. Catalog titles are in the merchants' language, so a product-type word in another language finds few or wrong products. Keep brand and model names exactly as the user wrote them."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description still adds real behavior: it returns normalized product entities with merchant count, price range and cheapest current offer with link, and it explains that suggested_names are checked against the catalog and silently dropped if absent. The gap is undefined jargon — 'rang' is never defined and does not match the schema's match_tier/match_score fields, so the agent cannot reliably interpret that per-product flag.

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?

Purpose and routing are front-loaded, and most sentences carry operational weight. It loses a point for brand-specific asides ('by you or by Edwin', 'theButler.network') that consume space without clarifying tool behavior for an agent.

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?

With an output schema present, the description does not need to specify return shape, yet it still summarizes the response and the suggested_names fallback, plus query-language pitfalls. For a 7-parameter, 2-required search tool with full schema coverage, nothing essential to correct invocation 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 already documents query language rules, market code, limit bounds, price bounds and suggested_names semantics in detail. The description restates the language-of-query requirement but adds no new parameter-level meaning, so the baseline of 3 applies.

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 opening sentence gives a specific verb plus resource plus scope ('Find purchasable product matches across merchants in a specified market'), and later explicitly routes the full-merchant-list case to get_offers. An agent can separate this from get_offers, compare_products and find_alternatives without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It enumerates concrete trigger conditions (a need, a category, a budget, a gift idea, best-of-kind, price of a named product) and states the one explicit exclusion — use get_offers only for the full merchant list for a single product. Language-of-query guidance and the 'whether or not the user names Edwin' clause further bound when it applies.

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.