I think that it’s more of a “rule out” exam than a “rule in”. The GRE only seems to do favors for you if you do like really well. We’re talking like 165/165/5.5+. Conversely, if you score below 50th percentile on any section, that’s going to create some barriers for you. I tell people to aim for 155/155/4.5+. I would put the most weight on the writing section. Residencies like to see that you are a competent writer. They want to know this because you will no doubt have a research obligation in residency, and they do not want any residents that need hand holding.
I’ve heard a very (very) small percent of schools look more heavily on the GRE. I had a 158/158/4.5 (decent score at best), came from a pass/fail school and matched to a very competitive stipend-paying program. I also got interviews at schools I heard had high GRE standards (example: VCU). So, that’s my opinion from what I’ve seen.