The RNLI's D-class lifeboat at Penarth was called out to two incidents in quick succession on Friday evening.
The RNLI said its volunteers were called out at around 7.15pm to help two people who were cut off by the tide nearby.
Having contacted the coastguard by mobile phone, the pair were able to give a What3Words location which made it easier to locate them.
They were taken aboard the lifeboat and returned safely to the lifeboat slipway.
During the first shout, the coastugard received a call about a boat that needed help a couple of miles off Cardiff.
The 12ft vessel was found at anchor near the River Rhymney and taken safely by tow into the Cardiff Bay Barrage.
An RNLI Penarth spokesperson said in both cases, the casaulties involved had mobile phones to call 999 and ask for the coastguard.

Green housing partnership up for top award
Welsh Water chief quizzed over job cuts
Senedd backs buisness rates revamp
First bus workers to strike again
New 'compass' service for Vale families
Two charged after fireworks thrown from car
Barry Lights up in purple for world Polo Day
Calls to assess Bendricks' community needs
Welsh Government sets out draft budget
New recycling service for textiles
Armed Forces award for Llanfair school
Hope's campaign to tackle student loneliness
Four-day strike to hit First buses
Long-service awards for RNLI veterans
Organised Fireworks Displays in the Vale of Glamorgan
'Good' inspection for Barry care home
Tributes to grandmother after fatal collision
Cowbridge school praised by inspectors