Fixing /tools endpoint