You’re misunderstanding. The Messages (Apple’s app) database is only accessible to apps that have full disk access. If you’d like your agent to operate on those then you need to grant it this permission. Muse is also not distributed on the App Store on macOS.