Getting the jar of fireflies in Moshi Monsters isn't entirely straightforward. The best guesses suggest you either need to reach a fairly high level, or that it's tied to a specific MosPod code.
Since the exact method isn't clearly documented, your safest approach is to keep leveling up while keeping an eye out for any code-based unlocks that might reveal the item.