tom-fool (n.) Look up tom-fool at Dictionary.com
also tom-fool, "buffoon, clown," 1640s, from Middle English Thom Foole, personification of a mentally deficient man (mid-14c.), see Tom + fool (n.).