You are very limited in what kind of fish can fit in a tank that small. I can't believe a fish store would put cichlids in a tank that tiny! But then again, I can believe it... :
I don't know of any tropical fish that live 8 years and enjoy being alone, don't need much space to swim and stay under 3 inches. Even a fish of 3 inches would be too big for that tank.
You could try 2 fancy guppies maybe. I don't know how long they live and they don't like being alone but they are small enough to fit, although even they like lots of room to swim.
Just wondering why you bought a 2.5 gallon glass tank? A ten gallon glass tank actually costs LESS than the 2.5g and you'd have more options. Maybe you could return it and trade up for a 10 gallon? They'd probably even have to give you back a couple dollars!