"Harmonielehre" by Dieter de la Motte is an excellent book that does exactly this. He explicitely points out that harmony must always be understood and analyzed in context. "Kontrapunkt", his book on counterpoint, follows the same principle and is just as good. I think/hope there are English translations.