What does 'agra agum agus slán' mean?

"agra" means "lawsuit"

"agum" looks like it's written phonetically, it should be "agam"
"agam" means "by/at me"

"agus slán" means "and good bye"

As a complete phrase it doesn't make any sense.