Fix empty queryParams in the tool