• Tumor consumption of glutamine impairs effector T-cell expansion.• Arginine depletion suppresses T-cell proliferation.• IDO-mediated tryptophan catabolism generates kynurenine, promoting T-cell dysfunction. Here, IDO1 is linked to neoplasm.