Feet of Clay

Feet of Clay by Terry Pratchett

Feet of Clay is a murder mystery, where the victim figures it out before the detective. Add a lady dwarf unliving pottery men and some solid Coats of Arms and there you go.