A tracheostomy is generally considered when less invasive methods for maintaining an airway, such as intubation, are insufficient or impractical. This can occur in cases of advanced tumor growth obstructing the airway or severe complications from treatment. It may also be indicated for patients requiring prolonged mechanical ventilation.