{"ok":true,"site":{"host":"shopmcp-phi.vercel.app","url":"https://shopmcp-phi.vercel.app/","type":"live","desc":"ShopMCP — E-commerce where humans and AI agents shop together via WebMCP","tools":[{"name":"search_products","kind":"answer","impl":"imperative","description":"Search the product catalog by query, category, max price, and sort order","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Search term for name or description"},"category":{"type":"string","enum":["Electronics","Home","Fashion","Books"]},"maxPrice":{"type":"number","description":"Maximum price filter"},"sort":{"type":"string","enum":["price-asc","price-desc","rating","name"]}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"get_product","kind":"answer","impl":"imperative","description":"Get full details for a single product by ID","inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"Product ID (e.g. p1)"}},"required":["productId"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"add_to_cart","kind":"act","impl":"imperative","description":"Add a product to the shopping cart (persisted in browser localStorage — no sign-in required)","inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"Product ID to add"},"quantity":{"type":"number","description":"Quantity (default 1)","minimum":1}},"required":["productId"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"get_cart","kind":"answer","impl":"imperative","description":"Get the current shopping cart from browser localStorage","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"compare_products","kind":"act","impl":"imperative","description":"Compare 2–4 products side by side by their IDs","inputSchema":{"type":"object","properties":{"productIds":{"type":"array","items":{"type":"string"},"minItems":2,"maxItems":4,"description":"Array of 2–4 product IDs"}},"required":["productIds"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"remove_from_cart","kind":"act","impl":"imperative","description":"Remove a product from the cart by its product ID","inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"Product ID to remove from cart"}},"required":["productId"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"get_recommendations","kind":"answer","impl":"imperative","description":"Get similar product recommendations based on a product ID (same category, sorted by rating)","inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"Source product ID to base recommendations on"},"limit":{"type":"number","description":"Max number of recommendations (default 3, max 6)"}},"required":["productId"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"apply_coupon","kind":"act","impl":"imperative","description":"Apply a discount coupon code. Valid codes: AGENT10 (10% off), DEMO20 (20% off), WEBMCP ($15 off)","inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"Coupon code to apply (case-insensitive)"}},"required":["code"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"get_order_summary","kind":"answer","impl":"imperative","description":"Get a full order summary: cart items, applied coupon, discounts, shipping, and final total","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]},{"name":"set_quantity","kind":"act","impl":"imperative","description":"Set the quantity of a specific product in the cart. Use quantity 0 to remove it.","inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"Product ID whose quantity to change"},"quantity":{"type":"number","description":"New quantity (0 removes the item)","minimum":0}},"required":["productId","quantity"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/shop","/agent","/cart"]}],"category":"Commerce","favicon":"/favicons/shopmcp-phi.vercel.app.svg","apiSurface":"spec","toolCount":10}}