Analytical Bethe Ansatz for quantum algebra invariant spin chains