Found a very useful outline on the setting of pin directions for eagle library parts.
http://ilektron-x.blogspot.com.au/2012/04/advanced-eagle-layout-tutorial-building.html
By defualt pins have an i/o direction which is sufficient for most libraries however if you want to start building good quality libraries it is important to make sure you are selecting the appropriate pin direction.