{"status":"active","protocol":"Model Context Protocol (MCP) over HTTP Gateway","version":"1.0.0","description":"ConnectMeGuru eSIM Agentic Catalog and Grounding MCP Gateway","endpoints":{"query":{"method":"POST","url":"https://connectmeguru.com/api/mcp","contentType":"application/json"}},"supportedTools":[{"name":"get_esim_catalog","description":"Queries active travel eSIM data plans. Refines by destination name, country code, or query keywords (e.g. JP, Japan, Japan 100MB, Europe 10GB, USA 30 Days).","inputSchema":{"type":"object","properties":{"countryCode":{"type":"string","description":"Destination name, country code, or search keywords (e.g. Japan, JP, Japan 100MB, Europe 10GB)."}}}},{"name":"get_knowledge_base","description":"Retrieves the official ConnectMeGuru grounding knowledge base, including installation guides, device compatibility, refund policies, and support escalation workflows.","inputSchema":{"type":"object","properties":{}}},{"name":"validate_coupon","description":"Validates a discount coupon code for checkout. Note: User login is mandatory to validate a coupon. If this returns a 401 Unauthorized error, you must inform the user that they need to log in (by sending an OTP using send_agent_otp) before they can apply a coupon.","inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"The coupon code to validate (e.g. WELCOME10)."},"packageCode":{"type":"string","description":"The eSIM package code to check applicability for."}},"required":["code","packageCode"]}},{"name":"get_checkout_url","description":"Generates a secure checkout and purchase link for a specific eSIM package.","inputSchema":{"type":"object","properties":{"packageCode":{"type":"string","description":"The package code of the eSIM (e.g. PIK0SW14Q)."},"discountCode":{"type":"string","description":"Optional coupon code to pre-apply (e.g. WELCOME10)."}},"required":["packageCode"]}},{"name":"send_agent_otp","description":"Sends a 6-digit OTP code to the customer's email address for in-chat authentication.","inputSchema":{"type":"object","properties":{"email":{"type":"string","description":"The email address of the customer."}},"required":["email"]}},{"name":"verify_agent_otp","description":"Verifies the email OTP code and returns a session token for wallet purchases.","inputSchema":{"type":"object","properties":{"email":{"type":"string","description":"The email address of the customer."},"code":{"type":"string","description":"The 6-digit OTP code entered by the user."}},"required":["email","code"]}},{"name":"get_wallet_balance","description":"Retrieves the user's current pre-funded wallet balance. Requires a valid session token.","inputSchema":{"type":"object","properties":{"token":{"type":"string","description":"The secure session token returned by verify_agent_otp or a Personal Access Token."}}}},{"name":"purchase_esim_with_wallet","description":"Purchases an eSIM package directly in chat using the user's wallet balance. If balance is insufficient, returns a magic link to top-up.","inputSchema":{"type":"object","properties":{"packageCode":{"type":"string","description":"The package code of the eSIM (e.g. PIK0SW14Q)."},"token":{"type":"string","description":"The secure session token returned by verify_agent_otp or a Personal Access Token."},"discountCode":{"type":"string","description":"Optional coupon code (e.g. WELCOME10)."}},"required":["packageCode"]}},{"name":"cancel_order","description":"Cancels an eligible eSIM order before activation/provisioning. Requires a valid session token.","inputSchema":{"type":"object","properties":{"orderId":{"type":"string","description":"The ID of the order to cancel."},"token":{"type":"string","description":"The secure session token returned by verify_agent_otp."}},"required":["orderId"]}},{"name":"refresh_esim_usage","description":"Requests a real-time data usage update for an active eSIM from the carrier. Requires a valid session token.","inputSchema":{"type":"object","properties":{"orderId":{"type":"string","description":"The ID of the eSIM order."},"token":{"type":"string","description":"The secure session token returned by verify_agent_otp."}},"required":["orderId"]}},{"name":"get_wallet_transactions","description":"Retrieves a paginated list of wallet transaction history. Requires a valid session token.","inputSchema":{"type":"object","properties":{"token":{"type":"string","description":"The secure session token returned by verify_agent_otp."},"page":{"type":"number","description":"Optional page number (defaults to 1)."},"limit":{"type":"number","description":"Optional number of items per page (defaults to 20)."}}}},{"name":"get_topup_packages","description":"Retrieves compatible top-up data packages for an active eSIM. Requires a valid session token.","inputSchema":{"type":"object","properties":{"orderId":{"type":"string","description":"The ID of the active eSIM order."},"token":{"type":"string","description":"The secure session token returned by verify_agent_otp."}},"required":["orderId"]}},{"name":"purchase_topup","description":"Purchases a compatible top-up package using the wallet balance. Requires a valid session token.","inputSchema":{"type":"object","properties":{"orderId":{"type":"string","description":"The ID of the active eSIM order."},"packageCode":{"type":"string","description":"The top-up package code to purchase."},"token":{"type":"string","description":"The secure session token returned by verify_agent_otp."}},"required":["orderId","packageCode"]}},{"name":"get_user_orders","description":"Retrieves a paginated list of the authenticated user's eSIM orders and history. Requires a valid session token.","inputSchema":{"type":"object","properties":{"token":{"type":"string","description":"The secure session token returned by verify_agent_otp."},"page":{"type":"number","description":"Optional page number (defaults to 1)."},"limit":{"type":"number","description":"Optional number of orders per page (defaults to 20)."}}}}]}