Stabilizer of the mucous gel overlying the gastrointestinal mucosa that provides a physical barrier against various noxious agents. May inhibit the growth of calcium oxalate crystals in urine. . This is the function of TFF1 (trefoil factor 1, Ensembl gene identifier ENSG00000160182).