How do companies evaluate the performance of an advertising agency they are working with?

How do companies evaluate the performance of an advertising agency they are working with? In other words, once an advertising agency has completed a project, how does the client site evaluate the advertising agency and determine whether or not to work with them again?