The float cup valve in a toilet is part of the ballcock assembly. It is designed to maintain the water level in the toilet by sliding up and down on the ballcock .
Adjust the float to set the water level. Pinch the clip and slide the float up or down on the rod. Keep adjusting the float until the water shuts off at the proper level. The water level in the tank is controlled by an adjustable float.