Analysis of the magnetic coupling in M3(dpa)4Cl2 systems (M = Ni, Pd, Cu, Ag) by ab initio calculations.