Recent storms have served as a reminder of how vulnerable communities are from slippage of coal tips, a Welsh politician has said.