A chimney cap is a vital component of the chimney, keeping rain, critters, and leaves out of the chimney. A high-quality properly-fitted chimney cap greatly extends the life of the chimney, not to mention arresting sparks and thwarting downdrafts.
Sometimes we can do mortar joint repointing (aka tuckpointing) to repair the chimney.