The clamp diameter should be stamped on the inside of the derailleur clamp, and is determined by the diameter of the Seat Tube, not the seat post.
There are three sizes of clamps; 28.6, 31.8, and 34.9 mm. Shims to make the larger clamp sizes work on smaller seat tubes are available, but only
to a degree.
Find out the clamp size, and someone will advise you forthwith.