{"name":"Customer Order Management MCP Server","version":"1.0.0","description":"Voice agent order management for customers","transport":"streamable-http","tools":[{"name":"load_order_proposal","description":"Load a predicted order proposal for customer from ML predictions","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string","description":"Customer code (e.g., TM773321)"},"proposal_data":{"type":"object","description":"ML-predicted order with products array","properties":{"proposal_id":{"type":"string"},"products":{"type":"array","items":{"type":"object","properties":{"product_code":{"type":"string"},"product_name":{"type":"string"},"quantity":{"type":"number"},"unit_price":{"type":"number"},"category":{"type":"string"},"unit":{"type":"string"}},"required":["product_code","product_name","quantity","unit_price"]}}}}},"required":["customer_code","proposal_data"]}},{"name":"get_customer_portfolio","description":"Get all products customer has ordered historically","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string","description":"Customer code"}},"required":["customer_code"]}},{"name":"modify_order_quantity","description":"Change quantity of product in current order","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"},"product_code":{"type":"string"},"new_quantity":{"type":"number"},"reason":{"type":"string"}},"required":["customer_code","product_code","new_quantity"]}},{"name":"add_product_to_order","description":"Add product from customer portfolio to order","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"},"product_code":{"type":"string"},"quantity":{"type":"number"},"reason":{"type":"string"}},"required":["customer_code","product_code","quantity"]}},{"name":"remove_product_from_order","description":"Remove product from current order","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"},"product_code":{"type":"string"},"reason":{"type":"string"}},"required":["customer_code","product_code"]}},{"name":"get_order_summary","description":"Get current order with all products and totals","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"}},"required":["customer_code"]}},{"name":"validate_order","description":"Validate order against business rules (minimums, availability)","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"}},"required":["customer_code"]}},{"name":"prepare_vtex_order","description":"Format order for VTEX API submission","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"}},"required":["customer_code"]}},{"name":"get_modification_history","description":"Get all changes made to order during conversation","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"}},"required":["customer_code"]}},{"name":"get_client_profile","description":"Get complete client profile for personalized conversation start","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"}},"required":["customer_code"]}},{"name":"get_churned_products","description":"Products customer ordered before but stopped - re-engagement opportunity","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"},"months_inactive":{"type":"number","description":"Months since last order (default 3)"}},"required":["customer_code"]}},{"name":"get_cross_sell_recommendations","description":"Complementary products for current order - basket analysis","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"}},"required":["customer_code"]}},{"name":"get_up_sell_recommendations","description":"Higher value alternatives for products in order","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"},"product_code":{"type":"string"}},"required":["customer_code"]}},{"name":"flag_for_human_agent","description":"Flag conversation for human agent review or immediate transfer","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"},"reason":{"type":"string"},"urgency":{"type":"string","enum":["low","medium","high"],"description":"Urgency level"}},"required":["customer_code","reason"]}},{"name":"get_order_prediction","description":"Get ML order prediction for customer (based on last order for now)","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"}},"required":["customer_code"]}},{"name":"load_prediction_as_proposal","description":"Automatically load order prediction as editable proposal","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"}},"required":["customer_code"]}},{"name":"place_order_in_vtex","description":"Place the final order in VTEX (or send via email until VTEX API is ready)","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"},"customer_email":{"type":"string","description":"Customer email for order"},"customer_phone":{"type":"string","description":"Customer phone for order"},"dry_run":{"type":"boolean","description":"If true, validate only without placing"},"send_email":{"type":"boolean","description":"If true, send order via email instead of VTEX API"},"delivery_date":{"type":"string","description":"Expected delivery date (YYYY-MM-DD format)"}},"required":["customer_code"]}},{"name":"get_business_trends","description":"Get relevant business trends, local events, and actionable insights for customer","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string"},"use_web_search":{"type":"boolean","description":"Use real web search for events (default false)"}},"required":["customer_code"]}},{"name":"get_complete_call_context","description":"FAST: Get ALL context in one call - client profile, trends, and order proposal loaded. Use this FIRST at call start instead of multiple separate calls.","inputSchema":{"type":"object","properties":{"customer_code":{"type":"string","description":"Customer code"},"use_web_search":{"type":"boolean","description":"Include real web search for trends (default false)"}},"required":["customer_code"]}}]}