Fix issue for tool definition with no validate