Surprised your agent wasn't able to give you this information.
But on Holland America you will encounter an older crowd and they historically tend to like to dress up a bit more than on some of the other cruise lines. However, Alaskan itineraries tend to be a little less formal than some other itineraries. So, with that said, I've just worn a shirt & tie without a jacket for formal nights and it's been fine. Or I've worn a jacket without a tie and that has been acceptable to. Don't feel like you have to wear formal attire, such as a tuxedo, which is definitely overkill.
But you really do want to go to the main dining room on formal nights as that's when they have the steak, prime rib, or lobster, so you would miss out on a really good meal.
However, should you decide you really don't want to do the main dining room, then there are several other options available. You can do the buffet on the Lido deck, go to one of the specialty restaurants (Pinnacle Grill is one of our all-time favorites), or do room service.
__________________ Travel Agent/Cruise Specialist w/13 yrs exp and 48 Cruises on 11 cruise lines! Favorites: Paul Gauguin - Tahiti: Uniworld River Cruises - Europe; Celebrity Solstice-class ships; Holland America - 12-nights Baltics & Russia; RCCL - 14-nights Greek Isles, Turkey, & Croatia; Holland America - 14-day Alaskan cruisetour; 10-night Canada/New England cruise; 21 days Hawaii w/7-night NCL cruise; Oceania - 25 days in Asia; more than 3 months touring Europe by train. And many all-inclusive resorts!