The width of the quantum delocalization of the QCD strings is investigated in effective string models beyond free Nambu-Goto approximation. We consider two Lorentzian-invariant boundary-terms in the Luscher-Weisz string action in addition to self-interaction term equivalent to two loop order in the (NG) string action. The geometrical terms which realize the possible rigidity of the QCD string is scrutinized as well. We perform the numerical analysis on the 4-dim pure $SU(3)$ Yang-Mills lattice gauge theory at two temperature scales near deconfinement point. The comparative study with this QCD string model targets the width of the energy profile of a static quark-antiquark system for color sources separation $0.5 le R le 1.2$ fm. We find the inclusion of rigidity properties and symmetry effects of the boundary action into the string paradigm to reproduce a good match with the profile of the Mont-Carlo data of QCD flux-tube on this distance scale.