both of those songs from Wicked are for character exposition. They are not that strong, but they still serve a purpose.
none of the songs are relevant in Smamalot, really
Little old lady land is a comic number that explains how Bialy gets his money
Masquerade catches us up on the time span between acts. it tells us about the new chandelier. it has Christine and Raul talking about thier hidden relationship
all of these songs are relevant to the text, with the exception of finland, but spamalot is not a relevant musical.
"I'm an American, Damnit!!! And if it's three things I don't believe in, it's quitting and math."