A GTT is performed to diagnose or monitor conditions such as type 1 or type 2 diabetes, prediabetes, and rare disorders like congenital hyperinsulinism. It helps in identifying abnormal glucose levels that may not be detected with fasting glucose tests alone.