When I first purchased a home my credit history was.. interesting. The value the realtor provided was putting me in touch with the right grants, forms, etc and ways to build and fix my credit. They helped me not get scammed with a high interest or ARM loan. Their knowledge helped me. Also she steered me away from a couple houses due to inspection concerns that would have cost me time.
Fast forward to now my credit is awesome, the homes I can afford are in a far different category and my last home purchase was fairly routine, so my realtor didn't do as much but I still value their knowledge and experience because you won't need it until you need it.