Endoscopic endonasal surgery is a type of procedure to treat problems, such as a tumor, in the front or bottom of the brain or top of the spinal cord.