Skip to main content
Glama

ALLR Motorcycle Gear Prices

Get every retailer offer for a product

get_product_offers
Read-onlyIdempotent

Get the full per-retailer offer table for ONE ALLR product in a buyer country: landed cost broken down into item price, shipping, import duty and customs brokerage (plus tax; these sum to landed_total. tax is 0 for CA and US, and for EU and UK it is the import VAT on cross-border offers, which is included in landed_total), plus stock, condition, per-colorway size availability, whether the retailer ships to that country, and a buy link (an allr.io redirect to the retailer). search_gear only carries the single lowest number. Offers are sorted cheapest landed first and the first limit are returned (default 10, max 40; offer_count is the total available); a retailer that does not ship to the country is still listed, flagged and sorted last. Availability is truth per (retailer x colorway x size): each offer carries availability_by_colorway, one row per colorway with ITS OWN sizes. There is no offer-level size list, because a size in stock in one colorway says nothing about another.

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": {
      "product_id": "<product_id>"
    },
    "name": "get_product_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoRestrict to offers that have this size IN STOCK in at least one colorway, e.g. 'L', 'XL', '44'. The kept offers carry `matched_colorways` — exactly the colorways that have it. Combined with `colorway`, the offer must have that size IN that colorway. An offer with no per-colorway breakdown is dropped by this filter rather than guessed at.
limitNoMaximum offers to return, cheapest landed first (1-40, default 10). `offer_count` is the total and `has_more` says whether more offers exist beyond this limit.
countryNoBuyer country (ISO-2, plus 'EU' and 'UK' as market codes). Determines the currency and the landed cost: item price + shipping + import duty + customs brokerage fee, plus import VAT on cross-border offers for EU and UK. CA and US totals carry no sales tax. ALLR computes landed cost for these four markets only.US
colorwayNoRestrict to offers carrying this colorway. Matched against the product's real colorway NAMES the way the product page matches them: the normalized name first ('matt black' = 'Matt Black'), and only if nothing matches exactly, any colorway whose name contains all of those words as whole words ('black' matches 'Matt Black' AND 'Black/Red'). A value that matches no colorway on this product comes back as an error listing the valid names. When omitted, every colorway is included.
product_idYesALLR product id from search_gear, or a full https://allr.io/product/<id> URL, or the bare slug. A merged/renamed id is followed to its canonical product automatically.
vat_countryNoOnly with country='EU': the buyer's EU member state (ISO-2, e.g. 'DE', 'HU'; 'EL' also accepted for Greece). Import VAT on cross-border offers is then charged at that state's standard rate (17% to 27%); a store that prices by destination VAT is re-priced for it. Omitted or not an EU member state: 21% reference rate.
include_out_of_stockNotrue includes out-of-stock offers in the table (ALLR does not hide them by default); false returns only in-stock offers.

Output Schema

NameRequiredDescriptionDefault
as_ofYesISO-8601 timestamp at which these prices were assembled.
offersYes
countryYes
productYes
currencyYes
has_moreNotrue when more offers exist than `limit` returned; `limit` accepts up to 40.
offer_countYesTotal offers for this product/country after filters (may exceed the number returned in `offers`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / vat_country
      Added value: +{
      +  "description": "Only with country='EU': the buyer's EU member state (ISO-2, e.g. 'DE', 'HU'; 'EL' also accepted for Greece). Import VAT on cross-border offers is then charged at that state's standard rate (17% to 27%); a store that prices by destination VAT is re-priced for it. Omitted or not an EU member state: 21% reference rate.",
      +  "maxLength": 2,
      +  "type": "string"
      +}
    • changedOutput schema / properties / offers / items / properties / tax / description
      Previous value: -"Import VAT. 0 for CA and US (ALLR does not include destination sales tax; the retailer shows it at checkout). For EU and UK, the import VAT on cross-border offers (UK 20%, EU 21%; 0 on helmets sold by UK and EU shops into the UK), included in landed_total; 0 for domestic and same-zone offers."New value: +"Import VAT. 0 for CA and US (ALLR does not include destination sales tax; the retailer shows it at checkout). For EU and UK, the import VAT on cross-border offers (UK 20%; EU: the buyer's own member state's rate, 17% to 27%, 21% when `vat_country` is not given; 0 on helmets sold by UK and EU shops into the UK), included in landed_total; 0 for domestic and same-zone offers."
  2. Changed2 schema fields changed
    • changedOutput schema / properties / offers / items / properties / brokerage / description
      Previous value: -"Courier customs-clearance (brokerage) fee in `currency`; 0 when the parcel needs no clearance or the retailer is domestic. For Canada it is charged whenever the carrier collects duty OR tax: the greater of CA$12.00 or 3.7% of duty + HST for a courier, CA$9.95 per item for Canada Post."New value: +"Courier / post customs-clearance fee in `currency`; 0 when the parcel needs no clearance, the retailer is domestic or same-customs-zone, or the price is delivered-duty-paid. It is charged only where a carrier advances duty or import VAT. Canada: greater of CA$12.00 or 3.7% of duty plus HST for a courier (CA$9.95 per item for Canada Post), whenever duty OR tax is collected. US: greater of US$17.50 or 2.5% of duty (DHL/FedEx US; UPS US is unpublished and priced the same). UK: 0 up to GBP 135 (VAT collected at sale), above that the greater of GBP 12.00 or 2.5% of duty plus import VAT (DHL UK default; FedEx 12.90, UPS 13.60 at 3%, Royal Mail 8). EU (non-EU sellers): the EUR 2 Union handling fee on every parcel plus the greater of EUR 15 or 2.5% of duty plus import VAT (FedEx EU default; UPS 15.70 at 3%, DHL 12.50 at 2%). No VAT is added on the fee."
    • addedOutput schema / properties / offers / items / properties / brokerage_basis
      Added value: +{
      +  "description": "Which brokerage rule produced `brokerage`, e.g. 'ups-ca', 'default-dhl-us', 'uk-under-135', 'default-dhl-uk', 'eu-uhf+default-fedex', 'ddp', 'same-zone'. A 'default-' prefix means the retailer's courier is not known and the destination default was used; '-unproven' means the carrier's published amount could not be found.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed3 schema fields changed
    • changedOutput schema / properties / offers / items / properties / brokerage / description
      Previous value: -"Courier customs-clearance (brokerage) fee in `currency`; 0 when the parcel needs no clearance or the retailer is domestic."New value: +"Courier customs-clearance (brokerage) fee in `currency`; 0 when the parcel needs no clearance or the retailer is domestic. For Canada it is charged whenever the carrier collects duty OR tax: the greater of CA$12.00 or 3.7% of duty + HST for a courier, CA$9.95 per item for Canada Post."
    • addedOutput schema / properties / offers / items / properties / duty_basis
      Added value: +{
      +  "description": "How `duty` was priced: 'mfn' (full most-favoured-nation rate), 'ceta' / 'cuktca' / 'cusma' (0% preference, only when ALLR has the product's country of manufacture on file and the parcel ships from that partner), or 'origin-unknown-mfn' (Canada: the full MFN rate is quoted because the product's origin is not on file).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / offers / items / properties / duty_note
      Added value: +{
      +  "description": "Short caveat printed beside the duty on allr.io, e.g. 'Duty may be $0 if made in the EU (CETA)'. Present only on Canadian offers from EU or UK stores that pay MFN duty because the product's origin is unknown; null otherwise.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  4. Changed3 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Buyer country (ISO-2, plus 'EU' and 'UK' as market codes). Determines the currency and the landed cost: item price + shipping + import duty + customs brokerage fee. Destination sales tax / VAT is not included. ALLR computes landed cost for these four markets only."New value: +"Buyer country (ISO-2, plus 'EU' and 'UK' as market codes). Determines the currency and the landed cost: item price + shipping + import duty + customs brokerage fee, plus import VAT on cross-border offers for EU and UK. CA and US totals carry no sales tax. ALLR computes landed cost for these four markets only."
    • changedOutput schema / properties / offers / items / properties / landed_total / description
      Previous value: -"Item + shipping + duty + brokerage (+ tax, which is always 0: destination sales tax / VAT is not included) in `currency`. null when the retailer cannot ship to this country."New value: +"Item + shipping + duty + brokerage + tax in `currency`. `tax` is 0 for CA and US and import VAT for cross-border EU and UK offers. null when the retailer cannot ship to this country."
    • changedOutput schema / properties / offers / items / properties / tax / description
      Previous value: -"Destination sales tax / VAT. Always 0: ALLR does not include it (the retailer shows it at checkout)."New value: +"Import VAT. 0 for CA and US (ALLR does not include destination sales tax; the retailer shows it at checkout). For EU and UK, the import VAT on cross-border offers (UK 20%, EU 21%; 0 on helmets sold by UK and EU shops into the UK), included in landed_total; 0 for domestic and same-zone offers."
  5. Changed7 schema fields changed
    • changedInput schema / properties / colorway / description
      Previous value: -"Restrict to offers carrying this colorway. Matched against the product's real colorway NAMES the way the product page matches them: the normalized name first ('matt black' = 'Matt Black'), and only if nothing matches exactly, any colorway whose name contains all of those words as whole words ('black' matches 'Matt Black' AND 'Black/Red'). A value that matches no colorway on this product comes back as an error listing the valid names. Omit to see every colorway."New value: +"Restrict to offers carrying this colorway. Matched against the product's real colorway NAMES the way the product page matches them: the normalized name first ('matt black' = 'Matt Black'), and only if nothing matches exactly, any colorway whose name contains all of those words as whole words ('black' matches 'Matt Black' AND 'Black/Red'). A value that matches no colorway on this product comes back as an error listing the valid names. When omitted, every colorway is included."
    • changedInput schema / properties / include_out_of_stock / description
      Previous value: -"Keep out-of-stock offers in the table (default true — ALLR never hides them). Set false to see only buyable offers."New value: +"true includes out-of-stock offers in the table (ALLR does not hide them by default); false returns only in-stock offers."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum offers to return, cheapest landed first (1-40, default 10). Compare with `offer_count` (the total) and `has_more`; raise it to see more."New value: +"Maximum offers to return, cheapest landed first (1-40, default 10). `offer_count` is the total and `has_more` says whether more offers exist beyond this limit."
    • changedOutput schema / properties / as_of / description
      Previous value: -"ISO-8601 timestamp at which these prices were assembled. Quote it when stating a price."New value: +"ISO-8601 timestamp at which these prices were assembled."
    • changedOutput schema / properties / has_more / description
      Previous value: -"true when more offers exist than `limit` returned; raise `limit` (max 40)."New value: +"true when more offers exist than `limit` returned; `limit` accepts up to 40."
    • changedOutput schema / properties / offers / items / properties / availability_by_colorway / description
      Previous value: -"Per-colorway stock: one row per colorway, each carrying ONLY that colorway's in-stock sizes. Never union these rows — a size present in one colorway is not available in another. An EMPTY sizes_in_stock means that colorway has nothing in stock at this retailer. null means ALLR cannot attribute sizes to colorways for this offer at all; `availability_note` then says why, and no size may be stated for this offer."New value: +"Per-colorway stock: one row per colorway, each carrying ONLY that colorway's in-stock sizes. Rows are independent: a size present in one colorway is not in stock in another. An EMPTY sizes_in_stock means that colorway has nothing in stock at this retailer. null means ALLR cannot attribute sizes to colorways for this offer; `availability_note` says why."
    • changedOutput schema / properties / offers / items / properties / sizes_listed / description
      Previous value: -"Every size the retailer lists for this offer, in stock or not, across all of its colorways. This is a LISTING-level array and says nothing per colorway — use availability_by_colorway for that."New value: +"Every size the retailer lists for this offer, in stock or not, across all of its colorways. This is a LISTING-level array and says nothing per colorway — per-colorway stock is in availability_by_colorway."
  6. Changed10 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Buyer country (ISO-2, plus 'EU' and 'UK' as market codes). Determines the currency and the landed cost: item price + shipping + import duty + VAT. ALLR computes landed cost for these four markets only. ASK the rider rather than guessing."New value: +"Buyer country (ISO-2, plus 'EU' and 'UK' as market codes). Determines the currency and the landed cost: item price + shipping + import duty + customs brokerage fee. Destination sales tax / VAT is not included. ALLR computes landed cost for these four markets only."
    • changedInput schema / properties / limit / default
      Previous value: -40New value: +10
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum offers to return (1-40)."New value: +"Maximum offers to return, cheapest landed first (1-40, default 10). Compare with `offer_count` (the total) and `has_more`; raise it to see more."
    • addedOutput schema / properties / has_more
      Added value: +{
      +  "description": "true when more offers exist than `limit` returned; raise `limit` (max 40).",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / offer_count / description
      Added value: +"Total offers for this product/country after filters (may exceed the number returned in `offers`)."
    • addedOutput schema / properties / offers / items / properties / brokerage
      Added value: +{
      +  "description": "Courier customs-clearance (brokerage) fee in `currency`; 0 when the parcel needs no clearance or the retailer is domestic.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / offers / items / properties / buy_url / description
      Previous value: -"Use verbatim — an allr.io redirect that preserves attribution."New value: +"An allr.io redirect to the retailer's product page; it counts the click."
    • addedOutput schema / properties / offers / items / properties / duty / description
      Added value: +"Import duty in `currency`."
    • changedOutput schema / properties / offers / items / properties / landed_total / description
      Previous value: -"Item + shipping + duty + tax in `currency`. null when the retailer cannot ship to this country."New value: +"Item + shipping + duty + brokerage (+ tax, which is always 0: destination sales tax / VAT is not included) in `currency`. null when the retailer cannot ship to this country."
    • addedOutput schema / properties / offers / items / properties / tax / description
      Added value: +"Destination sales tax / VAT. Always 0: ALLR does not include it (the retailer shows it at checkout)."
  7. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description adds substantial behavior: results are sorted cheapest landed first, capped by limit (default 10, max 40) with offer_count as the total, non-shipping retailers are still returned but flagged and sorted last, and tax is 0 for CA/US while EU/UK use import VAT inside landed_total. It also explains that availability is per (retailer x colorway x size) with no offer-level size list, which prevents a real misinterpretation.

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 core action, cost breakdown, sorting and pagination are front-loaded in the first two sentences, and the closing availability paragraph prevents a specific mistake. It is dense rather than padded, though it repeats some tax and availability detail already present in 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?

With an output schema present, return-value structure need not be described, and annotations cover safety. The description still supplies everything an agent needs to call it correctly: cost composition per market, default and max limit, out-of-stock handling, colorway filter error behavior, and the per-colorway availability model.

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 every parameter including size, colorway matching, country, vat_country and include_out_of_stock. The description mainly restates limit/sorting and country-based landed cost, adding only marginal meaning beyond what the schema provides. 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 with scope: 'Get the full per-retailer offer table for ONE ALLR product in a buyer country'. It then explicitly contrasts with the sibling search_gear ('search_gear only carries the single lowest number'), 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 Guidelines4/5

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

It clearly establishes the retrieval context (single product, buyer country, full offer table) and names the alternative that only returns the lowest price. It does not spell out explicit exclusions or a 'when not to use' rule, but the contrast with search_gear gives an agent enough to route correctly.

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.