Stop in for a cup of coffee
I'll jump in...naturally being in the business, I give the server much benefit of the doubt, and consider whether it seems like he or she has been trying his or her best. However, a bad or dismissive attitude will surely affect the amount I tip.