The AGI is required for e-filing. If you call the IRS at 800-829-1040, you will need to know your Social Security Number and birthdate. Be prepared to wait on hold for a long time. The AGI doesn't come from your W-2. It comes from your tax return.