Breakdown of Me alegra que estés más tranquilo después del examen.
Questions & Answers about Me alegra que estés más tranquilo después del examen.
Me alegra literally works like it makes me happy or it pleases me.
- me = to me
- alegra = makes happy / pleases
So the structure is not the same as English I am happy. Spanish often uses alegrar this way:
In your sentence, the thing that makes the speaker happy is the whole clause que estés más tranquilo después del examen.
Because the verb agrees with the thing that causes the happiness, not with me.
In Me alegra que estés más tranquilo..., the subject is the whole que clause:
- que estés más tranquilo después del examen
That whole idea is treated as a singular subject, so Spanish uses alegra.
Compare:
- Me alegra tu actitud.
Your attitude makes me happy. - Me alegran tus palabras.
Your words make me happy.
So it is alegra because the subject is singular.