CORE-4032: added some queries related to tool requests