This is an ass-covering response to school shootings, because some of the shooters have expressed their intent before.
A strip search obviously isn't necessary even if it's a credible threat; a metal detector wand and basic pat down is more than enough to ensure someone doesn't have a gun. This wasn't a credible threat though, and a chat with the school counselor would have been the right way to handle this.