Wall of Force says "Nothing can physically pass through the wall." (emphasis added)
It doesn't have any special spell-blocking abilities -- it's an indestructible sheet of glass. That certainly blocks a fireball, but does a sheet of glass block, say, Charm Person? I'm not sure.
With 4E line if effect rules it would, but it's not clear to me that 5E works that way. The spellcasting rules say that you can't target through total cover, but the definition of total cover is also that you're "completely concealed by an obstacle."
It's also notable that similar spells (Leomund's Tiny Hut, Forcecage) explicitly say they block spells, while Wall of Force uses the qualifier that it blocks physical things.