One thing I've noticed is that these books rarely just celebrate the prank itself. There's almost always a consequence, a lesson, or a moment where the joke turns back on the prankster. I read this middle grade novel last year where the main kid's elaborate plan to swap all the sugar for salt in the teacher's lounge completely backfired when the principal, who he was trying to impress, took a huge gulp of the salted coffee. Instead of getting in trouble, the kid had to spend a week doing chores for the custodian, learning how much work goes into cleaning up 'harmless' messes. The humor came from the setup and the inevitable, slightly cringey unraveling.
That tension between the mischief and its aftermath is what makes it feel grounded. It’ s not cartoonish anarchy; it’ s the recognizable thrill of pushing a boundary and the equally recognizable panic of getting caught. The funniest parts for me are often the internal monologue of the prankster as their plan starts to spiral, or the weirdly specific details they have to nail to make the prank work, like figuring out how to perfectly replicate a friend's handwriting for a fake love note. The humor isn't just in the punchline, but in the meticulous, often absurd, construction of the joke itself.