made tools description function more broadly applicable and performed monkey-patching within the frames module