add validations to tool model
add tests for tool validations
add validation test for tools#create