If you have macOS configured with "Optimized Charging" (default configuration), then it is fine to leave the power adapter connected all the time since macOS will exercise the battery for you, otherwise if you do not have macOS configured this way, then you are responsible for manually exercising the battery from time to time.
If battery charging is paused or on hold on your Mac - Apple Support
Batteries - Maximizing Performance - Apple
About battery health management in Mac laptops - Apple Support
FYI, battery cycles is mostly irrelevant unless they are nearing 1,000 cycles which would indicate the battery is nearing the end of its expected life (usually). The only other time the charge cycles have any impact is on a battery warranty repair, otherwise just ignore the charge cycles. Here is another post where I have written a bit more detail about the Battery's "Maximum Capacity" value Apple decided to show to users only beginning with macOS 13.x+ so most people are not fully aware of how this value works over time:
Battery Health draining fast -- explanation by hwtech - Apple Community