Open Shopping Agent

v0.2.0
io.browsa/open-shopping-agent Checked 3 days ago Published 15 days ago

Shopping agent: compares Amazon, Walmart, eBay, Best Buy, Target, Shopify; buys only with your OK

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_and_compare

Search several stores at once (Amazon, Walmart, eBay, Best Buy, Target, Shopify stores) for what the user asks for, compare price, shipping, delivery, rating and seller, and pick the best offer per item with a one-line reason. Read-only: nothing is added to a cart and nothing is bought. Returns a run_id for the next steps, the comparison table and the picks.

ParameterTypeDescription
request *stringWhat to buy, in plain words, e.g. "usb-c hub and 6 ft hdmi cable under $60"
budgetnumberTotal budget in dollars across all stores
shopify_domainsarrayShopify store domains to include, e.g. shop.example.com
storesarrayStores to search. Default: the user's allowed stores.
zipstringDelivery ZIP code for prices and delivery dates

fill_carts

Add the best picks of a run to each store's cart and read every cart back from the store (options and quantities as the store shows them). Does not check out and does not buy. Call after find_and_compare, ideally after the user agreed to the picks.

ParameterTypeDescription
run_id *stringrun_id from find_and_compare
dry_runbooleanOnly say what each cart would get; no cart is changed and the run keeps waiting.
storesarrayOnly these stores. Default: every store with a pick.

review_checkout

Go to each filled cart's checkout and stop on the order review page, before the final Place order click. Returns per store the lines, subtotal, shipping, tax and total, or what the store needs from the person (sign-in, code, payment) with a Phantom Live link. Does not buy, EXCEPT when the person who set up this server gave an up-front approval in its environment (OSA_MCP_APPROVE_UP_TO): then a checkout within those limits is bought automatically, with no further question, and the result says so (approval_source "mandate"). No tool argument can set or widen that approval.

ParameterTypeDescription
run_id *string
storesarrayOnly these stores. Default: every store with a filled cart.

place_order

Place a real order at one store. Off unless the server was started with OSA_MCP_ALLOW_ORDERS=1. Spends the user's money. ALWAYS ask the human first: show them the store, items and the exact total from review_checkout and wait for an explicit yes. Pass approved_total equal to that review total; the order is refused if it differs, and the agent re-checks the total on the store before clicking.

ParameterTypeDescription
approved_total *numberThe review total in dollars that the human approved, e.g. 41.97
run_id *string
store *string

watch_price

Save a watch that alerts when an item's price drops to a target, or when it is back in stock. Nothing is bought.

ParameterTypeDescription
item *stringItem description or a product URL
back_in_stockbooleanAlert when back in stock instead of a price
belownumberAlert at or below this price in dollars (price drop)
storesarray

list_runs

List recent shopping runs with their status, picks total and orders placed.

ParameterTypeDescription
limitnumberAt most this many, default 10

list_orders

List orders from the run history: store, order number, total, time, the store's order page, and the state (placed, placing, or unknown: the store may have taken the order but showed no order number, so the human must check their orders on the store before any retry). Read-only; shows the last status read from the store's order page when there is one.

ParameterTypeDescription
allbooleanInclude checkouts that failed before anything was submitted
limitnumberAt most this many, default 20