search tool input checking improvements