Putting hot wort in a glass carboy would likely cause it to crack. Also, the benefit to cooling in the kettle is that you can use an immersion wort chiller, which makes cooling MUCH faster.
I use glass carboys for the primary. They are much easier to keep clean than plastic, star-san does the...