add number limit in server api

didn't add in GUI