Island-hopping with a 30-day clock
Thirty days is half of Samoa's 60 and a quarter of Fiji's 4 months. Travellers combining the three often book one long trip and forget that each country counts separately. The onward flight that matters at Fuaʻamotu is the one leaving Tonga, and its date needs to fall within your first 30 days there, not just before your flight home.
Staying longer
GOV.UK says to contact the Tonga Immigration Department to extend, and warns against overstaying. Ask before day 30, not after. If you think you'll extend, keep the onward booking you show on arrival inside the 30 days and move your real flight once the extension is granted.
Cash and customs
Tonga sets a cash-declaration threshold of 10,000 pa'anga and checks plant, animal and food products closely (quoted below). If you're carrying cash to show funds, keep it under the threshold or declare it.
Passport
Valid for at least 6 months from the date you arrive.