A surgical biopsy is typically recommended when other diagnostic methods, such as imaging tests or blood tests, indicate the presence of abnormal tissue but cannot provide a definitive diagnosis. It is also used to determine the histological grade and stage of a cancer, which are critical for developing an effective treatment plan.