Carrying a good multi-tool with you when you are cycling is something that's really worth doing. A multi-tool will allow you to fix a range of potential mechanical issues that can occur whilst out riding as well as allow you to adjust your position and contact points should you need to.
I'm a qualified mechanic and have tested and used all of the tools in this guide myself on a range of maintenance jobs.