He shall represent the city in all ceremonial functions of a patriotic or social character when it appears desirable that the city be officially represented thereat, and shall, consistent with the provisions thereof, possess such other powers and perform such duties as may be prescribed by this charter, by law, by ordinance, or by resolution of the council.