Smart Tools for the Smart Grid