Those metabolic reactions involved in the synthesis of thyroid-stimulating hormone (TSH). TSH is a pituitary hormone that stimulates the thyroid gland to produce thyroxine (T4) and then triiodothyronine (T3). T3 is the active thyroid hormone that stimulates cellular metabolism.