db model for tool