Skip to content

Commerce MCP

Tools reference

Generated from the live tool registry: the same names, schemas and annotations tools/list returns.

About these tools#

  • tools/list returns only the tools your scopes allow. See the scope table in Authentication and access.
  • Every tool is read-only and has the same annotations. Each lists noauth and oauth2 security schemes: no tool needs sign-in.
  • Successful calls return structuredContent matching the tool's output schema, and the same JSON as text in content. Errors are described in Limits and errors.
  • inventory_quantity appears only for callers with inventory:read, which only API keys can carry.
  • Examples are real responses from the demo store, captured on 2026-11-05 as an anonymous call to https://app.aiptimise.com/api/mcp/p/openai. Timestamps and IDs in your responses will differ.

search_productsget_store_infoget_live_price_and_inventoryget_active_promotionsget_loyalty_programget_aiptimise_product_dataget_product_variants

search_products#

Search productscatalog:readreadOnlyHint: truedestructiveHint: falseidempotentHint: trueopenWorldHint: false

Finds products of participating merchants that match a shopper's need. Put the shopper's words (a need, use case, question or product type) in query; it supports "quoted phrases", OR and -exclusions. Price, currency, stock and attribute values are exact filters applied to each variant. Searches every participating store unless store_id is given. Returns a short ranked list with each product's best matching variant, its price and availability as of the last catalog sync, a storefront link, and verbatim excerpts labelled with the field they came from. match is any_term when no product contained every word, so results are a looser match; matched_terms then lists the words each result contains. has_more is true when more products matched than were returned. With ship_to_country, each result says whether the store's synced shipping zones confirm delivery there (confirmed) or do not list it (unconfirmed: the store may still ship there), or that the product is not shipped at all (not_shipped: a gift card, a service, a ticket or a donation, as the store marks it). Use get_live_price_and_inventory to confirm an offer and get_aiptimise_product_data for full detail.

Parameters

NameTypeRequiredDescription
querystringnoWhat the shopper wants, in their words (e.g. 'washable rug for a home with pets')at most 200 characters
store_idstring (UUID)noOptional: search only this store (Aiptimise public store ID)
min_pricenumberno≥ 0
max_pricenumberno> 0
currencystringnoISO 4217 currency code; required with min_price or max_pricepattern ^[A-Za-z]{3}$
in_stockbooleannotrue: only variants in stock at the last catalog sync
brandstringno1–100 characters
categorystringnoMatches part of the category path1–100 characters
materialstringnoMatches part of the material1–100 characters
colorstringno1–100 characters
sizestringno1–100 characters
genderstringnoone of: male, female, unisex
conditionstringnoone of: new, refurbished, used
attributesmap of stringnoVariant options that must match exactly, e.g. {"Size": "8x10"}keys 1–50 characters · values 1–100 characters
ship_to_countrystringnoOptional: the shopper's delivery country (ISO 3166-1 alpha-2). Reported per result as ships_to_country; it does not remove resultspattern ^[A-Za-z]{2}$
limitintegernoResults to return (default 5, max 10)≥ 1 · ≤ 10
Output fields (25)
FieldTypeAlways present
store_idstring (UUID)no
matchstringone of: all_terms, any_term, filtersyes
ship_to_countrystringno
result_countintegeryes
has_morebooleanyes
resultsobject[]yes
results[].rankintegeryes
results[].storeobjectyes
results[].store.store_idstring (UUID)yes
results[].store.namestringyes
results[].product_idstringyes
results[].variant_idstringyes
results[].titlestringyes
results[].pricemoneyyes
results[].list_pricemoneyno
results[].availabilitystringyes
results[].product_urlstringyes
results[].image_urlstringno
results[].brandstringno
results[].evidenceobject[]yes
results[].evidence[].fieldstringone of: use_case, q_and_a, summary, highlight, descriptionyes
results[].evidence[].snippetstringyes
results[].matched_termsstring[]no
results[].ships_to_countrystringone of: confirmed, unconfirmed, not_shippedno
results[].as_ofstring (date-time)yes

Example

Request (tools/call)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_products",
    "arguments": {
      "query": "waterproof rain jacket for hiking",
      "max_price": 200,
      "currency": "USD",
      "ship_to_country": "US",
      "limit": 2
    }
  }
}
Response: result.structuredContent
{
  "match": "all_terms",
  "ship_to_country": "US",
  "result_count": 1,
  "has_more": false,
  "results": [
    {
      "rank": 1,
      "store": {
        "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
        "name": "Aiptimise Demo Store"
      },
      "product_id": "demo-summit-rain-jacket",
      "variant_id": "demo-summit-rain-jacket:demo-variant-1-1",
      "title": "Summit 3-Layer Rain Jacket - S / Glacier Blue",
      "price": {
        "amount": "189.00",
        "currency": "USD"
      },
      "availability": "in_stock",
      "product_url": "https://demo.aiptimise.com/products/summit-rain-jacket?variant=demo-variant-1-1&utm_source=chatgpt.com&utm_medium=ai_agent&utm_campaign=aiptimise_mcp&utm_content=42335a18-4a84-473a-b318-b1b93b03637c",
      "image_url": "https://demo.aiptimise.com/images/summit-rain-jacket.jpg",
      "brand": "Aiptimise Demo Store",
      "evidence": [
        {
          "field": "summary",
          "snippet": "Summit 3-Layer **Rain** **Jacket** is a **waterproof**, breathable **hiking** shell with taped seams, pit zips and a packable design, rated 20,000 mm **waterproof**"
        },
        {
          "field": "use_case",
          "snippet": "Multi-day **hikes** in wet climates — Stays **waterproof** in sustained **rain** while pit zips vent heat on climbs"
        }
      ],
      "ships_to_country": "confirmed",
      "as_of": "2026-11-05T07:40:39.948Z"
    }
  ]
}

get_store_info#

Get store informationcatalog:readreadOnlyHint: truedestructiveHint: falseidempotentHint: trueopenWorldHint: false

Returns a participating store's seller name, website and description (what the store says it is, in its own words), market (country, currency, language and the countries its synced shipping zones list), return, privacy and terms policy links, return terms (whether returns are accepted, window and what it counts from, who pays return shipping, restocking fee, exchanges, refund processing days, products the window does not cover), shipping zones and rates, policy details (shipping, returns, warranty, payment) and loyalty program, as stated on the store's own pages, and the store's identity as the store publishes it (legal name, about text, founding year, logo, address, contact details and social profiles). store_reviews is the store's review summary across all of its products (count, average out of 5, per-star counts), the figure the store's review app publishes: present it as the store's or brand's reputation, never as any one product's rating (a product's own reviews are in get_aiptimise_product_data). Identify the store by store_id, or by store_domain when the shopper names its website (exact domain only, e.g. "example.com"; a domain that is not a participating store answers not_available). advertised_offers are store-wide offers stated on those pages; get_active_promotions lists every promotion running now, including product-page offers and member prices.

Parameters

NameTypeRequiredDescription
store_idstring (UUID)noAiptimise public store ID (UUID). Pass this or store_domain
store_domainstringnoThe store's website domain, e.g. "example.com" or "https://www.example.com". Matched exactly against participating stores' websites. Pass this or store_id3–255 characters
Output fields (62)
FieldTypeAlways present
store_idstring (UUID)yes
namestringyes
urlstringyes
descriptionstringno
store_reviewsobjectno
store_reviews.coversstringyes
store_reviews.review_countintegeryes
store_reviews.average_ratingnumberyes
store_reviews.best_ratingnumberyes
store_reviews.rating_distributionobjectno
store_reviews.rating_distribution.1integeryes
store_reviews.rating_distribution.2integeryes
store_reviews.rating_distribution.3integeryes
store_reviews.rating_distribution.4integeryes
store_reviews.rating_distribution.5integeryes
store_reviews.sourcestringone of: judge_me, looxyes
marketobjectyes
market.countrystringyes
market.currencystringyes
market.localestringyes
market.ships_tostring[]yes
policiesobjectyes
policies.return_policy_urlstringno
policies.privacy_policy_urlstringno
policies.terms_of_service_urlstringno
policies.returnsobjectno
policies.returns.acceptedbooleanno
policies.returns.window_daysintegerno
policies.returns.window_startsstringone of: delivery, purchaseno
policies.returns.return_shippingstringone of: free, customer_pays, variesno
policies.returns.restocking_fee_percentnumberno
policies.returns.exchanges_allowedbooleanno
policies.returns.refund_processing_daysnumberno
policies.returns.exceptionsobject[]no
policies.detailsobject (free-form)[]yes
shipping_zonesobject[]yes
shipping_zones[].namestringyes
shipping_zones[].countriesstring[]yes
shipping_zones[].delivery_daysobjectno
shipping_zones[].delivery_days.minnumberno
shipping_zones[].delivery_days.maxnumberno
shipping_zones[].ratesobject[]yes
shipping_zones[].rates[].servicestringyes
shipping_zones[].rates[].pricemoneyno
shipping_zones[].rates[].carrier_calculatedbooleanyes
shipping_zones[].rates[].min_ordermoneyno
advertised_offersobject (free-form)[]yes
loyalty_programobject (free-form) | nullyes
identityobjectno
identity.legal_namestringno
identity.aboutstringno
identity.about_urlstringno
identity.foundedstringno
identity.logostringno
identity.addressstringno
identity.contactobjectno
identity.contact.emailstringno
identity.contact.phonestringno
identity.contact.hoursstringno
identity.contact.urlstringno
identity.social_profilesstring[]no
facts_as_ofstring (date-time)no

Example

Request (tools/call)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_store_info",
    "arguments": {
      "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad"
    }
  }
}
Response: result.structuredContent
JSON
{
  "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
  "name": "Aiptimise Demo Store",
  "url": "https://demo.aiptimise.com",
  "description": "A fictional outdoor-gear store that Aiptimise runs to demonstrate AI shopping assistants. Nothing is for sale.",
  "market": {
    "country": "US",
    "currency": "USD",
    "locale": "en-US",
    "ships_to": [
      "US"
    ]
  },
  "policies": {
    "return_policy_url": "https://demo.aiptimise.com/policies/refund-policy",
    "privacy_policy_url": "https://demo.aiptimise.com/policies/privacy-policy",
    "terms_of_service_url": "https://demo.aiptimise.com/policies/terms-of-service",
    "returns": {
      "accepted": true,
      "window_days": 30,
      "return_shipping": "free",
      "exchanges_allowed": true,
      "refund_processing_days": 5
    },
    "details": [
      {
        "type": "shipping",
        "summary": "Orders arrive in 3 to 5 business days anywhere in the United States.",
        "currency": "USD",
        "ships_to": [
          "US"
        ],
        "source_url": "https://demo.aiptimise.com/policies/shipping-policy",
        "rates_source": "store_shipping_settings",
        "free_shipping": true,
        "last_verified_at": "2026-09-29T00:00:00.000Z",
        "shipping_methods": [
          "United States: Standard 6.95 USD",
          "United States: Free standard free on orders over 75 USD",
          "United States: Express 19.95 USD"
        ],
        "ships_internationally": false,
        "delivery_time_max_days": 5,
        "delivery_time_min_days": 3,
        "free_shipping_countries": [
          "US"
        ],
        "free_shipping_minimum_order": 75
      },
      {
        "type": "returns",
        "summary": "Free returns within 30 days of delivery for unused items in their original condition.",
        "source_url": "https://demo.aiptimise.com/policies/refund-policy",
        "item_condition": "Unused, in original condition",
        "refund_methods": [
          "original payment method"
        ],
        "return_shipping": "free",
        "last_verified_at": "2026-09-29T00:00:00.000Z",
        "returns_accepted": true,
        "exchanges_allowed": true,
        "return_window_days": 30,
        "return_window_starts": "delivery",
        "refund_processing_days": 5
      }
    ]
  },
  "shipping_zones": [
    {
      "name": "United States",
      "countries": [
        "US"
      ],
      "delivery_days": {
        "min": 3,
        "max": 5
      },
      "rates": [
        {
          "service": "Standard",
          "price": {
            "amount": "6.95",
            "currency": "USD"
          },
          "carrier_calculated": false
        },
        {
          "service": "Free standard",
          "price": {
            "amount": "0.00",
            "currency": "USD"
          },
          "carrier_calculated": false,
          "min_order": {
            "amount": "75.00",
            "currency": "USD"
          }
        },
        {
          "service": "Express",
          "price": {
            "amount": "19.95",
            "currency": "USD"
          },
          "carrier_calculated": false
        }
      ]
    }
  ],
  "advertised_offers": [],
  "loyalty_program": {
    "tiers": [
      "Explorer: From your first point. Birthday bonus of 50 points.",
      "Summit: From 1,000 points. Free express shipping. Early access to new gear."
    ],
    "status": "VERIFIED",
    "earning": [
      "Earn 1 point per dollar spent."
    ],
    "rewards": [
      "Every 100 points is worth $5 off a future order."
    ],
    "summary": "Earn 1 point per dollar spent. Every 100 points is worth $5 off a future order.",
    "source_url": "https://demo.aiptimise.com/pages/trail-rewards",
    "how_to_join": "Joining is free.",
    "program_name": "Trail Rewards",
    "last_verified_at": "2026-09-29T00:00:00.000Z"
  },
  "identity": {
    "about": "Aiptimise Demo Store is a fictional outdoor-gear store that Aiptimise runs to show how AI shopping assistants read a merchant’s catalog. Its jackets, boots, tents, sleeping bags and packs are made up, and nothing here is for sale. Developers and platform reviewers use it to try the Aiptimise Commerce MCP with data that never changes.",
    "about_url": "https://demo.aiptimise.com/pages/about"
  },
  "facts_as_of": "2026-09-29T00:00:00.000Z"
}

get_live_price_and_inventory#

Get live price and inventoryoffers:readreadOnlyHint: truedestructiveHint: falseidempotentHint: trueopenWorldHint: false

Returns the current price, availability and product URL for one catalog item of a participating merchant, with the time the data was checked. availability is pre_order or backorder when the product page says so, with availability_date (an ISO 8601 date) when it ships; min_handling_time and max_handling_time (business days) are present when the page states a longer dispatch time than the store's usual one. A product sold in several variants requires variant_id; without it the call answers variant_required, and get_product_variants lists the variants to choose from. promotions lists the promotions running now that apply to this product (the same entries get_active_promotions gives for it: sales, codes, buy-one-get-one, member prices; empty when none), so a price answer can say what a shopper with a code or membership pays.

Parameters

NameTypeRequiredDescription
store_idstring (UUID)yesAiptimise public store ID (UUID)
product_idstringyesProduct ID: the stable catalog item ID from a merchant feed, or the Aiptimise public product ID1–255 characters
variant_idstringnoStable variant item ID, as returned by get_product_variants1–255 characters
Output fields (38)
FieldTypeAlways present
store_idstring (UUID)yes
product_idstringyes
variant_idstringyes
titlestringyes
pricemoneyyes
list_pricemoneyno
availabilitystringyes
availability_datestringno
min_handling_timeintegerno
max_handling_timeintegerno
inventory_quantitynumberno
product_urlstringyes
as_ofstring (date-time)yes
sourcestringone of: live, snapshotyes
valid_untilstring (date-time)no
promotionsobject[]no
promotions[].idstringyes
promotions[].titlestringyes
promotions[].kindstringno
promotions[].termsstringno
promotions[].codestringno
promotions[].discountobjectno
promotions[].discount.valuenumberyes
promotions[].discount.unitstringyes
promotions[].discount.currencystringno
promotions[].minimum_purchasenumberno
promotions[].eligibilitystringno
promotions[].member_programstringno
promotions[].requires_actionbooleanno
promotions[].is_subscriptionbooleanno
promotions[].applies_toobject[]no
promotions[].applies_to[].product_idstringyes
promotions[].applies_to[].variant_idsstring[]no
promotions[].product_countintegerno
promotions[].starts_atstring (date-time)no
promotions[].ends_atstring (date-time)no
promotions[].urlstringno
promotions[].last_confirmed_atstring (date-time)no

Example

Request (tools/call)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_live_price_and_inventory",
    "arguments": {
      "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
      "product_id": "demo-basecamp-2-tent"
    }
  }
}
Response: result.structuredContent
{
  "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
  "product_id": "demo-basecamp-2-tent",
  "variant_id": "demo-basecamp-2-tent:demo-variant-4-1",
  "title": "Basecamp 2-Person Backpacking Tent - Moss",
  "price": {
    "amount": "349.00",
    "currency": "USD"
  },
  "availability": "in_stock",
  "min_handling_time": 10,
  "max_handling_time": 10,
  "product_url": "https://demo.aiptimise.com/products/basecamp-2-tent?variant=demo-variant-4-1&utm_source=chatgpt.com&utm_medium=ai_agent&utm_campaign=aiptimise_mcp&utm_content=20d86301-665e-4b71-b1d6-f78e86f18f8c",
  "as_of": "2026-11-05T07:40:39.959Z",
  "source": "snapshot",
  "promotions": [
    {
      "id": "demo-welcome-10",
      "title": "10% off your first order for Trail Rewards members",
      "kind": "percent_off",
      "terms": "Join Trail Rewards (free) and get 10% off your first order.",
      "discount": {
        "value": 10,
        "unit": "percent"
      },
      "starts_at": "2026-01-01T00:00:00.000Z",
      "ends_at": "2030-12-31T23:59:59.000Z",
      "url": "https://demo.aiptimise.com/pages/offers"
    },
    {
      "id": "demo-free-shipping-75",
      "title": "Free shipping on orders over $75",
      "kind": "free_shipping",
      "terms": "Free standard shipping to the US on orders over $75.",
      "starts_at": "2026-01-01T00:00:00.000Z",
      "ends_at": "2030-12-31T23:59:59.000Z",
      "url": "https://demo.aiptimise.com/pages/offers"
    }
  ]
}

get_active_promotions#

Get active promotionspromotions:readreadOnlyHint: truedestructiveHint: falseidempotentHint: trueopenWorldHint: false

Returns the promotions running now at a participating store, optionally narrowed to one product: sales, discount codes, free shipping, buy-one-get-one, gifts and member prices, as the store states them on its own pages. title and kind name the offer; terms is the store's own wording; discount is {value, unit: percent|amount, currency?}; code is the discount code to enter; requires_action means the shopper must do something (enter the code, sign up, join member_program) to get it; eligibility says who qualifies and where; minimum_purchase is the order minimum; ends_at is set only when the store states an end date. applies_to lists the catalog product IDs it covers (product_count says how many when the list is cut short); no applies_to means the whole store. An empty list means the store advertises no promotion now.

Parameters

NameTypeRequiredDescription
store_idstring (UUID)yesAiptimise public store ID (UUID)
product_idstringnoOptional product ID; omit to list every active store promotion1–255 characters
variant_idstringnoOptional stable variant item ID of product_id (requires product_id), as returned by get_product_variants1–255 characters
Output fields (26)
FieldTypeAlways present
store_idstring (UUID)yes
product_idstringno
variant_idstringno
promotionsobject[]yes
promotions[].idstringyes
promotions[].titlestringyes
promotions[].kindstringno
promotions[].termsstringno
promotions[].codestringno
promotions[].discountobjectno
promotions[].discount.valuenumberyes
promotions[].discount.unitstringyes
promotions[].discount.currencystringno
promotions[].minimum_purchasenumberno
promotions[].eligibilitystringno
promotions[].member_programstringno
promotions[].requires_actionbooleanno
promotions[].is_subscriptionbooleanno
promotions[].applies_toobject[]no
promotions[].applies_to[].product_idstringyes
promotions[].applies_to[].variant_idsstring[]no
promotions[].product_countintegerno
promotions[].starts_atstring (date-time)no
promotions[].ends_atstring (date-time)no
promotions[].urlstringno
promotions[].last_confirmed_atstring (date-time)no

Example

Request (tools/call)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_active_promotions",
    "arguments": {
      "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
      "product_id": "demo-summit-rain-jacket"
    }
  }
}
Response: result.structuredContent
{
  "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
  "product_id": "demo-summit-rain-jacket",
  "promotions": [
    {
      "id": "demo-welcome-10",
      "title": "10% off your first order for Trail Rewards members",
      "kind": "percent_off",
      "terms": "Join Trail Rewards (free) and get 10% off your first order.",
      "discount": {
        "value": 10,
        "unit": "percent"
      },
      "starts_at": "2026-01-01T00:00:00.000Z",
      "ends_at": "2030-12-31T23:59:59.000Z",
      "url": "https://demo.aiptimise.com/pages/offers"
    },
    {
      "id": "demo-free-shipping-75",
      "title": "Free shipping on orders over $75",
      "kind": "free_shipping",
      "terms": "Free standard shipping to the US on orders over $75.",
      "starts_at": "2026-01-01T00:00:00.000Z",
      "ends_at": "2030-12-31T23:59:59.000Z",
      "url": "https://demo.aiptimise.com/pages/offers"
    },
    {
      "id": "demo-rain-jacket-20",
      "title": "$20 off the Summit 3-Layer Rain Jacket",
      "kind": "amount_off",
      "terms": "Save $20 on the Summit rain jacket in every size and color.",
      "discount": {
        "value": 20,
        "unit": "amount",
        "currency": "USD"
      },
      "applies_to": [
        {
          "product_id": "demo-summit-rain-jacket"
        }
      ],
      "starts_at": "2026-01-01T00:00:00.000Z",
      "ends_at": "2030-12-31T23:59:59.000Z",
      "url": "https://demo.aiptimise.com/pages/offers"
    }
  ]
}

get_loyalty_program#

Get loyalty program detailsloyalty:readreadOnlyHint: truedestructiveHint: falseidempotentHint: trueopenWorldHint: false

Returns the loyalty program, points and tiers a participating merchant publishes for one product. Fields are merchant-authored and free-form; a product with no loyalty content returns empty values. No shopper account data is involved.

Parameters

NameTypeRequiredDescription
store_idstring (UUID)yesAiptimise public store ID (UUID)
product_idstringyesProduct ID: the stable catalog item ID from a merchant feed, or the Aiptimise public product ID1–255 characters
Output fields (5)
FieldTypeAlways present
store_idstring (UUID)yes
product_idstringyes
programobject (free-form) | nullyes
pointsobject (free-form) | nullyes
programsobject (free-form)[]yes

Example

Request (tools/call)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_loyalty_program",
    "arguments": {
      "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
      "product_id": "demo-trekker-45-backpack"
    }
  }
}
Response: result.structuredContent
{
  "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
  "product_id": "demo-trekker-45-backpack",
  "program": {
    "name": "Trail Rewards",
    "tiers": [
      {
        "name": "Explorer",
        "perks": [
          "Birthday bonus of 50 points"
        ],
        "threshold_points": 0
      },
      {
        "name": "Summit",
        "perks": [
          "Free express shipping",
          "Early access to new gear"
        ],
        "threshold_points": 1000
      }
    ],
    "terms_url": "https://demo.aiptimise.com/pages/trail-rewards",
    "description": "Earn 1 point per dollar spent. Every 100 points is worth $5 off a future order."
  },
  "points": {
    "basis": "1 point per $1 spent",
    "program": "Trail Rewards",
    "points_earned": 199
  },
  "programs": []
}

get_aiptimise_product_data#

Get product detailscatalog:readreadOnlyHint: truedestructiveHint: falseidempotentHint: trueopenWorldHint: false

Returns the full Aiptimise view of one product of a participating merchant: the schema.org Product JSON-LD published to AI crawlers (brand, category, material, identifiers, images, offer summary), plus enriched data (answer-engine summary, specifications, highlights, Q&A, use cases, reviews and review summary, promotions, policies, loyalty, optimized copy). specifications are the product facts the merchant states (materials, capacity, waterproof rating, care, warranty…), each {key, name, value}: key is a stable fact key for comparing products, name the store's label; quote them for factual questions rather than inferring from marketing text. media lists the product's videos (direct files with their dimensions and duration, or YouTube/Vimeo pages) and glTF/GLB 3D models, when it has any. The JSON-LD leaves out per-variant nodes: variant_count says how many variants there are, and get_product_variants lists them. store_rating is the store's review average and count across all of its products, for weighing the seller in a comparison: never present it as this product's rating, which is in review_summary and the JSON-LD aggregateRating. Pass include_json_ld false when the enriched data is enough.

Parameters

NameTypeRequiredDescription
store_idstring (UUID)yesAiptimise public store ID (UUID)
product_idstringyesProduct ID: the stable catalog item ID from a merchant feed, or the Aiptimise public product ID1–255 characters
include_json_ldbooleannoInclude the schema.org JSON-LD (default true)
Output fields (51)
FieldTypeAlways present
store_idstring (UUID)yes
product_idstringyes
availabilitystringno
availability_datestringno
min_handling_timeintegerno
max_handling_timeintegerno
json_ldobject (free-form)no
enriched_dataobjectyes
enriched_data.answer_engine_summarystring | nullyes
enriched_data.specificationsobject[]yes
enriched_data.specifications[].keystringyes
enriched_data.specifications[].namestringyes
enriched_data.specifications[].valuestringyes
enriched_data.product_highlightsstring[]no
enriched_data.q_and_aobject[]yes
enriched_data.q_and_a[].qstringyes
enriched_data.q_and_a[].astringyes
enriched_data.optimized_titlestring | nullyes
enriched_data.optimized_descriptionstring | nullyes
enriched_data.use_casesobject[]yes
enriched_data.use_cases[].scenariostringyes
enriched_data.use_cases[].whystringno
enriched_data.reviewsobject[]yes
enriched_data.reviews[].ratingnumberno
enriched_data.reviews[].best_ratingnumberno
enriched_data.reviews[].titlestringno
enriched_data.reviews[].bodystringno
enriched_data.reviews[].datestringno
enriched_data.reviews[].prosstring[]no
enriched_data.reviews[].consstring[]no
enriched_data.reviews[].verified_purchasebooleanno
enriched_data.reviews[].languagestringno
enriched_data.review_summaryobject (free-form) | nullyes
enriched_data.promotionsobject (free-form)[]yes
enriched_data.policiesobject (free-form)[]yes
enriched_data.loyaltyobject (free-form) | nullyes
mediaobjectno
media.videosobject[]yes
media.videos[].urlstringyes
media.videos[].hoststringone of: file, youtube, vimeo, otheryes
media.videos[].widthintegerno
media.videos[].heightintegerno
media.videos[].duration_secondsnumberno
media.models_3dobject[]yes
media.models_3d[].urlstringyes
media.models_3d[].formatstringone of: glb, gltfyes
variant_countintegeryes
store_ratingobjectno
store_rating.coversstringyes
store_rating.average_ratingnumberyes
store_rating.review_countintegeryes

Example

Request (tools/call)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_aiptimise_product_data",
    "arguments": {
      "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
      "product_id": "demo-ridge-merino-base-layer"
    }
  }
}
Response: result.structuredContent
JSON
{
  "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
  "product_id": "demo-ridge-merino-base-layer",
  "availability": "in_stock",
  "json_ld": {
    "@context": "https://schema.org",
    "@type": "ProductGroup",
    "@id": "https://demo.aiptimise.com/products/ridge-merino-base-layer#product",
    "name": "Ridge Merino Base Layer Top",
    "productGroupID": "demo-ridge-merino-base-layer",
    "variesBy": [
      "https://schema.org/size"
    ],
    "offers": {
      "@type": "AggregateOffer",
      "priceCurrency": "USD",
      "lowPrice": 79,
      "highPrice": 79,
      "offerCount": 3,
      "availability": "https://schema.org/InStock",
      "itemCondition": "https://schema.org/NewCondition",
      "hasMerchantReturnPolicy": {
        "@type": "MerchantReturnPolicy",
        "@id": "#return-policy",
        "applicableCountry": "US",
        "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
        "merchantReturnDays": 30,
        "returnFees": "https://schema.org/FreeReturn",
        "merchantReturnLink": "https://demo.aiptimise.com/policies/refund-policy"
      },
      "shippingDetails": {
        "@type": "OfferShippingDetails",
        "@id": "#shipping",
        "deliveryTime": {
          "@type": "ShippingDeliveryTime",
          "transitTime": {
            "@type": "QuantitativeValue",
            "minValue": 3,
            "maxValue": 5,
            "unitCode": "DAY"
          }
        }
      }
    },
    "description": "A lightweight 150 gsm merino wool long-sleeve base layer that regulates temperature and resists odor on multi-day trips.",
    "disambiguatingDescription": "A 150 gsm merino wool base layer for cool-weather hiking that stays warm when damp and resists odor.",
    "additionalProperty": [
      {
        "@type": "PropertyValue",
        "name": "Fabric composition",
        "value": "100% merino wool"
      },
      {
        "@type": "PropertyValue",
        "name": "Fabric weight",
        "value": 150,
        "unitCode": "GM",
        "unitText": "gsm"
      },
      {
        "@type": "PropertyValue",
        "name": "Care instructions",
        "value": "Machine wash on wool cycle"
      },
      {
        "@type": "PropertyValue",
        "name": "Highlight",
        "value": "150 gsm merino wool"
      },
      {
        "@type": "PropertyValue",
        "name": "Highlight",
        "value": "Flatlock seams"
      },
      {
        "@type": "PropertyValue",
        "name": "Highlight",
        "value": "Odor resistant"
      },
      {
        "@type": "PropertyValue",
        "name": "Highlight",
        "value": "Machine washable on wool cycle"
      },
      {
        "@type": "PropertyValue",
        "name": "Best for",
        "value": "Layering for autumn hikes",
        "description": "Merino regulates temperature under a shell or fleece."
      },
      {
        "@type": "PropertyValue",
        "name": "Best for",
        "value": "Travel with a light bag",
        "description": "Can be worn several days without washing."
      }
    ],
    "category": "Apparel & Accessories > Clothing > Activewear",
    "material": "100% merino wool",
    "audience": {
      "@type": "PeopleAudience",
      "suggestedGender": "female"
    },
    "image": "https://demo.aiptimise.com/images/ridge-merino-base-layer.jpg",
    "brand": {
      "@type": "Brand",
      "name": "Aiptimise Demo Store"
    },
    "url": "https://demo.aiptimise.com/products/ridge-merino-base-layer",
    "aggregateRating": {
      "@type": "AggregateRating",
      "ratingValue": 5,
      "reviewCount": 1,
      "bestRating": 5,
      "worstRating": 1
    },
    "subjectOf": {
      "@type": "FAQPage",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "Is it machine washable?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Yes, on a cold wool cycle; lay flat to dry."
          }
        }
      ]
    },
    "mainEntityOfPage": {
      "@type": "ItemPage",
      "@id": "https://demo.aiptimise.com/products/ridge-merino-base-layer",
      "url": "https://demo.aiptimise.com/products/ridge-merino-base-layer",
      "dateModified": "2026-11-05T07:40:39.953Z"
    }
  },
  "enriched_data": {
    "answer_engine_summary": "A 150 gsm merino wool base layer for cool-weather hiking that stays warm when damp and resists odor.",
    "specifications": [
      {
        "key": "fabric_composition",
        "name": "Fabric composition",
        "value": "100% merino wool"
      },
      {
        "key": "fabric_weight",
        "name": "Fabric weight",
        "value": "150 gsm"
      },
      {
        "key": "care_instructions",
        "name": "Care instructions",
        "value": "Machine wash on wool cycle"
      }
    ],
    "product_highlights": [
      "150 gsm merino wool",
      "Flatlock seams",
      "Odor resistant",
      "Machine washable on wool cycle"
    ],
    "q_and_a": [
      {
        "q": "Is it machine washable?",
        "a": "Yes, on a cold wool cycle; lay flat to dry."
      }
    ],
    "optimized_title": "Ridge Merino Base Layer Top",
    "optimized_description": "A lightweight 150 gsm merino wool long-sleeve base layer that regulates temperature and resists odor on multi-day trips.",
    "use_cases": [
      {
        "scenario": "Layering for autumn hikes",
        "why": "Merino regulates temperature under a shell or fleece."
      },
      {
        "scenario": "Travel with a light bag",
        "why": "Can be worn several days without washing."
      }
    ],
    "reviews": [
      {
        "rating": 5,
        "body": "Soft, not itchy at all, wore it for a whole week-long trek.",
        "date": "2026-06-01T00:00:00.000Z"
      }
    ],
    "review_summary": {
      "review_count": 1,
      "average_rating": 5
    },
    "promotions": [],
    "policies": [
      {
        "type": "shipping",
        "summary": "Free standard shipping on US orders over $75; otherwise $6.95. Express $19.95.",
        "currency": "USD",
        "ships_to": [
          "US"
        ],
        "source_url": "https://demo.aiptimise.com/policies/shipping-policy",
        "free_shipping": true
      },
      {
        "type": "returns",
        "summary": "Free returns within 30 days of delivery for unused items.",
        "source_url": "https://demo.aiptimise.com/policies/refund-policy",
        "return_window_days": 30
      }
    ],
    "loyalty": {
      "name": "Trail Rewards",
      "tiers": [
        {
          "name": "Explorer",
          "perks": [
            "Birthday bonus of 50 points"
          ],
          "threshold_points": 0
        },
        {
          "name": "Summit",
          "perks": [
            "Free express shipping",
            "Early access to new gear"
          ],
          "threshold_points": 1000
        }
      ],
      "terms_url": "https://demo.aiptimise.com/pages/trail-rewards",
      "description": "Earn 1 point per dollar spent. Every 100 points is worth $5 off a future order."
    }
  },
  "variant_count": 3
}

get_product_variants#

Get product variantscatalog:readreadOnlyHint: truedestructiveHint: falseidempotentHint: trueopenWorldHint: false

Returns per-variant data (options, SKU, GTIN, price, list price, availability, image, and product_url: the page that sells that variant, to link it unmodified) for one product of a participating merchant, as of the last catalog sync, with an aggregate offer summarising every variant's price range. Narrow the list with options (exact option values, e.g. {"Size": "L"}) and available_only; results are paged with limit and offset. variant_count counts every variant, matched_count those passing the filters, and next_offset is set when more remain. A product sold as a single variant returns an empty list; use get_live_price_and_inventory for its offer.

Parameters

NameTypeRequiredDescription
store_idstring (UUID)yesAiptimise public store ID (UUID)
product_idstringyesProduct ID: the stable catalog item ID from a merchant feed, or the Aiptimise public product ID1–255 characters
optionsmap of stringnoOption values a variant must have, matched exactly ignoring case, e.g. {"Size": "L", "Color": "Blue"}keys 1–50 characters · values 1–100 characters
available_onlybooleannotrue: only variants available at the last catalog sync
limitintegernoVariants to return (default 50, max 100)≥ 1 · ≤ 100
offsetintegernoVariants to skip, from next_offset of the previous page (default 0)≥ 0
Output fields (24)
FieldTypeAlways present
store_idstring (UUID)yes
product_idstringyes
variant_countintegeryes
matched_countintegeryes
next_offsetintegerno
variantsobject[]yes
variants[].variant_idstringyes
variants[].titlestringyes
variants[].skustringno
variants[].gtinstringno
variants[].optionsmap of stringyes
variants[].pricemoneyyes
variants[].list_pricemoneyno
variants[].availablebooleanno
variants[].inventory_quantitynumberno
variants[].is_defaultbooleanno
variants[].image_urlstringno
variants[].product_urlstringno
aggregate_offerobjectno
aggregate_offer.low_pricemoneyyes
aggregate_offer.high_pricemoneyyes
aggregate_offer.offer_countintegeryes
aggregate_offer.availabilitystringno
as_ofstring (date-time)no

Example

Request (tools/call)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_product_variants",
    "arguments": {
      "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
      "product_id": "demo-summit-rain-jacket",
      "options": {
        "Size": "M"
      }
    }
  }
}
Response: result.structuredContent
{
  "store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
  "product_id": "demo-summit-rain-jacket",
  "variant_count": 4,
  "matched_count": 2,
  "variants": [
    {
      "variant_id": "demo-summit-rain-jacket:demo-variant-1-2",
      "title": "M / Glacier Blue",
      "sku": "NB-SRJ-M-BLU",
      "options": {
        "Size": "M",
        "Color": "Glacier Blue"
      },
      "price": {
        "amount": "189.00",
        "currency": "USD"
      },
      "available": true,
      "is_default": false,
      "image_url": "https://demo.aiptimise.com/images/summit-rain-jacket.jpg",
      "product_url": "https://demo.aiptimise.com/products/summit-rain-jacket?variant=demo-variant-1-2&utm_source=chatgpt.com&utm_medium=ai_agent&utm_campaign=aiptimise_mcp&utm_content=42335a18-4a84-473a-b318-b1b93b03637c"
    },
    {
      "variant_id": "demo-summit-rain-jacket:demo-variant-1-4",
      "title": "M / Basalt Black",
      "sku": "NB-SRJ-M-BLK",
      "options": {
        "Size": "M",
        "Color": "Basalt Black"
      },
      "price": {
        "amount": "189.00",
        "currency": "USD"
      },
      "available": true,
      "is_default": false,
      "image_url": "https://demo.aiptimise.com/images/summit-rain-jacket-basalt-black.jpg",
      "product_url": "https://demo.aiptimise.com/products/summit-rain-jacket?variant=demo-variant-1-4&utm_source=chatgpt.com&utm_medium=ai_agent&utm_campaign=aiptimise_mcp&utm_content=42335a18-4a84-473a-b318-b1b93b03637c"
    }
  ],
  "aggregate_offer": {
    "low_price": {
      "amount": "189.00",
      "currency": "USD"
    },
    "high_price": {
      "amount": "189.00",
      "currency": "USD"
    },
    "offer_count": 4,
    "availability": "in_stock"
  },
  "as_of": "2026-11-05T07:40:39.948Z"
}