Examples
Performance Metrics
Learn how to implement AI chatbots that can retrieve, analyze, and provide insights about social media performance metrics using the MCP server.
Performance Metrics Analysis
This example demonstrates a simple workflow to retrieve social media performance metrics using the MCP server.
Basic Workflow
Implementation Steps
To implement this functionality, follow these simple steps:
-
Get Users: Use
get-users-by-tenant-app
to retrieve all users -
Get User Accounts: Use
get-user-accounts
with the selected user’s ID to retrieve their connected social media accounts -
Get Performance Metrics: Use
get-account-engagement
andget-audience-age-breakdown
with the selected account’s ID to retrieve performance metrics -
Present Results: Display the metrics in a clear, organized format
Required MCP Tools
This implementation uses these tools:
get-users-by-tenant-app
- Lists all usersget-user-accounts
- Lists user’s social media accountsget-account-engagement
- Gets engagement metricsget-audience-age-breakdown
- Gets audience demographics