The joke is a pun.  A pencil that needs to be sharpened likely has no sharp point on it, meaning it has a blunt tip.  To say something bluntly is to say it in an uncompromisingly forthright way.
' ' I need a pencil sharpener , ' ' said Tom bluntly .