The first valve looks like a protection valve.
Pretty common item. It shuts off air to other items, in the case of low air pressure emergency, saving what's left for the brakes.
The last picture is a tank drain. You pull the cable ( lanyard ) to drain out moisture.
You may be able to pull the cable and it may self clean and seal.
Most truck shops will carry them both.