Higher alanine transaminase (ALT), indicating poor liver function, is positively associated with diabetes but inversely associated with body mass index (BMI) in Mendelian randomization (MR) studies, suggesting liver function affects muscle mass. Here, GPT is linked to diabetes mellitus.