It's worse than that, how do you know it's a good agent without completing the transaction? It seems you pretty much need trusted word of mouth referral.
I would think a referral is only really excellent if from a person who had to do many transactions recently, and sampled at least 2+ realtors. And that's something that's quite hard to come by.
Unfortunately, this process is what we have now.