refactor parameter creation and simplify Alerts
remove params keyword from RetrieveAlerts and update docs