Text this: Enhanced performance of in-plane transition metal dichalcogenides monolayers by configuring local atomic structures