The bleeding and mucus could be due to hemorrhoids especially since it is fresh red blood.
Kindly eat a diet rich in fresh fruits and green leafy vegetables. Drink 1-2 litres of water daily. Eat 2 tablespoons full of Ispaghulla husk everyday for soft regular stools. Constipation
needs to be prevented otherwise Hemorrhoids will bleed.
The grape like masses are hemorrhoids. They are dilated veins which bleed during increased pressure like constipation or excessive drying. You may apply Vaseline to the masses to prevent drying and dessication.
Do Sitz bath in luke warm water 3 times a day to prevent bleeding as well.
Kindly consult your Surgeon for evaluation of hemorrhoids and decide treatment to cure it.
Wishing good health.