For a reaction taking place in a container in equilibrium with its surroundings, the effect of temperature on its equilibrium constant K in terms of change in entropy is described by
For endothermic, if Tsurr increases, unfavourable change in entropy of the surroundings decreases.
For exothermic, if Tsurr increases, favourable change in entropy of the surroundings decreases.
Tagged Gibbs energy and spontaneity. Machine-assigned, so read it as a strong shortlist rather than a verdict.