For a number of years now British troops have been providing training to AMISOM soldiers who then go on to operate in Somalia.
That has been a way of assisting in the fight against militant groups like Al Shabaab in North Africa but without inflaming Islamist tensions by putting British boots on the ground.
The MoD has issued a statement: “Admitting that a small military support team has deployed to Mogadishu to support AMISOM for six months, which might be extended. They say it complements cross-governmental efforts in support of the British Government’s strategy on Somalia.”
Back in May, DFiD committed 69 million pounds a year until 2015 to fund aid projects in Somalia, to help stabilise the country, so this deployment could be in support of that.
So these soldiers are probably monitoring what is happening on the ground, gathering information on potential aid projects, and conducting some low level training and advising.