I saw this frog sitting in between the rocks along a man-made stream at Villa Carmen Biological Station, Peru.
Most males were tucked into the rocks, and there were small foam nests in some of the spaces.
Villa Carmen is a station run by the Amazon Conservation Association, located within the Manu Biosphere Reserve.