The microbial tryptophan metabolite indole acts on the gastrointestinal tract to improve glucose homeostasis in a mouse model of diabetes by enhancing GLP-1 secretion and L cell differentiation. Here, GLP1R is linked to diabetes mellitus.