The availability of ten 6 inch Mk XII guns from the Queen Elizabeth-classbattleships in 1915 prompted the Admiralty to order five scaled down versions of the M15-class monitors, which had been designed to utilise 9.2 inch guns. HMS M31 and her sisters were ordered from Harland & Wolff, Belfast in March 1915. Launched on 24 June 1915, she was completed in July 1915. Upon completion, HMS M31 was sent to the Mediterranean, and remained there until March, 1919.
In 1916, she defended the port city of Yanbo, in Saudi Arabia, against the Turkish army by providing artillery cover for the Arab rebels.[1] She served from May to September 1919 in support of British and White Russian forces in the White Sea, before returning to England.
In September 1923, HMS M31 was taken in hand for conversion to a minelayer. Equipped to carry 52 mines, she was renamed HMS Melpomene in December 1925. She was assigned to HMS Defiance the Torpedo School at Devonport. In September, 1939 she was converted to a torpedo training vessel, fitted with one 21 inch torpedo tube on the forecastle.
She was renamed HMS Menelaus in 1941, and was finally sold in 1948 and broken up at Llanelly.