added some tool query commands