Following the incident, tanks were seen in the area and all roads leading to the palace were closed, the agency said
In the video, posted to Facebook, Koulamallah is seen surrounded by members of the government forces.
“Nothing serious has happened,” he says.
“We are here and we will defend our country at the price of our blood. Be calm.
“This whole attempt at destabilisation has been thwarted.”
He is then seen taking photos with, and raising his fist with, the soldiers.
Koulamallah was quoted by AFP as saying the assault had been launched by a 24-man commando unit, adding that six of the attackers had suffered injuries.
A further three members of the government forces also suffered injuries, he added.
The incident came just hours after a visit to the former French territory by China’s Foreign Minister, Wang Yi, who met President Mahamat Déby and other senior officials.