If the interior of the coop is hotter than the outside air on a warm, sunny day then you need more ventilation, preferably as high up close to the roof as possible because heat and ammonia both rise.
The usual guidelines for ventilation are 1 square foot per adult, standard-size hen.