Skip to main content
Glama

Edwin by theButler.network

Get merchant offers for a product

get_offers
Read-only

Return the full list of current merchant offers for one product in a market: merchant, price, currency, stock status, source timestamp, match tier, and a purchase link, cheapest first. Use when the user wants to see every merchant for one product — search_products already carries the cheapest one.

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": {
      "pid": "<pid>",
      "market": "<market>"
    },
    "name": "get_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidYesProduct id exactly as returned by a previous Edwin tool result. Never invent one — call search_products first if you do not have a pid.
limitNoHow many offers to return, cheapest first.
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.
include_descriptionNoAlso return the merchant feed's product description and, for each listed offer, that merchant's own title and description, as plain text shortened to 1200 characters each. It is merchant copy, not a checked spec sheet. Leave it off unless the user asks what the product is like.

Output Schema

NameRequiredDescriptionDefault
pidYes
nameNo
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.
brandNo
marketYes
offersYes
descriptionNoOnly with include_description: the merchant feed's product description, plain text, shortened. Null when the feed has none worth showing.
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.
merchant_textsNoOnly with include_description: the title and description each listed merchant sends for this product, plain text, shortened, duplicates removed, at most six.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / offers / 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"
      -  ]
      -}
    • changedOutput schema / properties / offers / items / 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"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered by structured data. The description adds ordering behavior ('cheapest first'), the exact field set returned, and the merchant-provenance caveat around descriptions; it stops short of discussing pagination or truncation beyond the limit.

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, front-loaded with the return payload and followed by the routing rule; no filler and every clause carries information an agent needs.

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?

With an output schema present, the description need not explain return values, and it correctly focuses on scope, ordering and alternative selection. Minor gaps remain around pagination or behavior when a market has no offers, but 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 coverage is 100%, and the schema itself documents the pid provenance rule, the ISO market code, the limit bound and the include_description caveat. The description restates 'one product in a market' and 'cheapest first' but adds no syntax or format detail beyond what the schema already provides, so baseline 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?

States a specific verb and resource ('Return the full list of current merchant offers') scoped to one product in one market, and enumerates the returned fields. An agent can distinguish it from search_products purely from the description text.

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 an explicit trigger ('Use when the user wants to see every merchant for one product') and names the alternative it displaces, with the reason ('search_products already carries the cheapest one'). It does not address siblings like compare_products or find_alternatives, so the routing guidance is clear but not exhaustive.

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.