"But when ye pray, use not vain repetitions, as the heathen, for they think that they shall be heard for their much speaking. Be not ye therefore like unto them, for your Father knoweth what things ye have need of before ye ask him."
Here is wisdom indeed. There is no magic formula for communicating with God. No list of what is to be said or repeated. No vain --meaning ineffective-- repetitions. He "gets it" even before you speak. So the act of prayer is a formal way of showing:
-Respect (by doing what He has asked)