acid-ammonia (or amide) ligase activity [GO_0016880] - Virtual Fly Brain