Welding tool for performing SMAW or MIG weld with maintenance of a constant distance between the electrode and the weld area