The Goldilocks Star

What is “just right” when you are looking for a star that can support life? It’s more than not too hot and not too cold. You also need longevity, low activity, and a dash of metals.