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.

Yellow Weather warning issues for Snow later this week
Decision due on wood processing plant
Carbon emissions up by 6% last year
Toddler dies after medical episode
Housing rent set to rise by 4.3%
Power tools stolen in van break-ins
New Community Cinema to launch in Llantwit Major
Three youths arrested after Penarth assault
CCTV appeal after Barry robbery
Barry: three men jailed in shoplifting crackdown
Cardiff Bay connects to heat network
Two boys guilty of Kamran Aman murder
Another successful year for Santa's Cause
Two men questioned after A48 collision
Candlelighting held at Barry chapel