The regulation of blood glucose levels by insulin and glucagon. As the levels of glucose in the blood rise, insulin stimulates the cells to take up more glucose and signals the liver to convert the excess glucose to glycogen, a form in which it can be stored for later use.