@Morka Unfortunately I have to say that this understanding is not 100 % correct, to hold it short:
Yes, in SAML the IDP provides you with metadata. No, in SAML the SP also provides you with metadata.
To connect an IDP and a SP you have to exchange this metadata with the respective opposite system to establish "trust" and provide the systems with the information regarding the communication, attributes and minimum required security details.