Materials of tools or workpieces composed of a compound including a metal