The player is initially tasked with meeting with the queen before heading out to Machine Fortress to spy on The King. There the player must navigate in a hidden tunnel filled with dissidents and a particular character named Snap who helps guide Jam before they break into Machine Fortress.
Once inside Jam meets various characters, one who was a former spy who decided to stay. The occupants work all day within the factory, creating more of the Caramel Sauce that seem to make people happy and want to stay.
Later Jam is captured by a guard and thrown in a cell with a banana named Tosca who uses Jam as a trampoline to break out before opening the door for him/her. They then check out the machine before being caught by a guard and making a break for the basement to regroup.
After a small scene Jam can select an ally to take before returning to Machine Fortress and debating The King over his methods.