<P> Following Will & Grace, Mullally hosted her own talk show, The Megan Mullally Show from 2006 to 2007 . She has hosted Saturday Night Live, guest - hosted the Late Show with David Letterman, hosted the 2006 TV Land Awards, and been a featured performer twice on the Tony Awards . She has been featured in advertisements for M&M's, Old Navy, CheapTickets.com, and I Can't Believe It's Not Butter! </P> <P> Mullally guest - starred as' Bev', an adoption case worker for Liz Lemon in the season - three premiere of the NBC sitcom 30 Rock and returned to play the same character two additional times during the show's run . Other appearances include Kathy Griffin: My Life on the D - List, Campus Ladies, director / actor David Wain's "Wainy Days," an episode of HBO's Funny or Die, and the Funny or Die web video "That's What She Said ." </P> <P> Mullally has guest - starred seven times as Tammy Swanson on the NBC series Parks and Recreation, in the episodes "Ron and Tammy," "Ron & Tammy: Part Two," "Li'l Sebastian," "Ron and Tammys," "The Trial of Leslie Knope," "Ron and Diane," and "Ron and Jammy". Mullally plays the role of the second ex-wife of the character Ron Swanson, who is played by her real - life husband, Nick Offerman . Offerman also had a part on one episode of Mullally's show Will & Grace where he played a plumber who came to Will's mother's house while Will, Karen, Grace, and Jack were visiting . </P> <P> Also in 2009, Mullally starred in the ABC sitcom In the Motherhood . Based on the original web series, the television adaptation focuses on three mothers . She played Rosemary opposite Cheryl Hines and Jessica St. Clair . The series was poorly received and was canceled by ABC due to low ratings after airing just five out of seven episodes produced . </P>

Who played the plumber on will and grace