We report a computational investigation of the structural, electronic, and magnetic properties of disordered Mn$_2$CoAl. We doped the Mn site of Mn$_2$CoAl with various concentrations of Mn’s nearest neighbours in the periodic table — namely Cr, Fe, Tc, and Re — to tune the magnetic behaviour of Mn$_2$CoAl. We calculated the properties of the system using density functional theory and mean-field theory. We tuned the Curie temperature and magnetic moment as a function of the doping element concentration. We show that doping with more than 2% $3d$ transition metals and more than 10% $4d$ and $5d$ transition metals leads to the collapse of spin-gapless semiconductor behaviour. We have established that the doping element’s radius and number of valence electrons are mainly responsible for this spin-gapless semiconductor behaviour.