Peace groups and religious bodies have offered a cautious welcome for a voluntary United Nations agreement on small arms that they hope will be a step towards curbing the dangerous trade in illicit weapons.