Both expressions exist but have different uses. Collins explains
If you intend to do something, you have decided or planned to do it.
- She intends to do A levels and go to university.
If something is intended for a particular purpose, it has been planned to fulfil that purpose. If something is intended for a particular person, it has been planned to be used by that person or to affect them in some way.
- This money is intended for the development of the tourist industry.
Macmillan records the phrase be intended with the preposition for:
to be made, done, or said for a particular purpose or person
- The posts are intended for students who have recently completed a first degree in biology.
I personally see intended as a synonym of meant, and it can be used with for + noun or to + verb, as you can see in this FDA article:
A dietary supplement is a product intended for ingestion that, among other requirements, contains a "dietary ingredient" intended to supplement the diet.
The intending is done by an animate subject in both cases. The difficulty is with the phrase be intended for/to do smth.
Although Macmillan says that something can be intended for something else, I don't see why you cannot say
He is intended to represent the distillation of the standards expected by those who regularly use the market. (source)
However, examples such as this last one are more rare and formal, and sound rather the synonym of is meant/expected/supposed to.
This Ngram confirms it

The conclusion is that if you want to express someone's intention concerning themselves, use intend to:
I intend to study [am thinking of studying] cooking this summer.
If someone has an intention, but it is directed at something or someone else which functions as the subject of your sentence, then use be intended to:
Students are intended to study cooking this summer [e.g. by the university].
The reference to passive voice in the comments was not out of place. Consider:
God intended man to be the king of creation. (active)
Man was intended (by God) to be the king of creation. (passive)