added tool for getting metadata