Hamilton was a staunch Jacobite who often wrote political material on the subject. He also "played a significant role...in the vernacular revival's absorption of folk forms into high Scottish literary culture" (DNB). He was praised as a good poet, and as his influential friends helped to promote his reputation, he was widely anthologized. He is best known for his ballad ‘The Braes of Yarrow’.