"An eye for an eye and a tooth for a tooth" means that the punishment should match the crime; no more, no less.
Someone kills, they should be killed. Someone steals, restitution is required, etc...
It's actually the basis for laws against cruel and unusual punishment.
But it also seems to call for capital punishment in cases of murder or other conspiracy involving the loss of life.