Police are investigating an anonymous threat that was made in an e-mail against middle schools in Cambridge.

The threat was directed at the Amigos School, Putnam Avenue Upper School and Vassal Lane Upper School, the city said in an alert. The buildings also contain Tobin Montessori and Kennedy-Longfellow School.