Skip to main content

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:
  1. Get Users: Use get-users-by-tenant-app to retrieve all users
  2. Get User Accounts: Use get-user-accounts with the selected user’s ID to retrieve their connected social media accounts
  3. Get Performance Metrics: Use get-account-engagement and get-audience-age-breakdown with the selected account’s ID to retrieve performance metrics
  4. 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 users
  • get-user-accounts - Lists user’s social media accounts
  • get-account-engagement - Gets engagement metrics
  • get-audience-age-breakdown - Gets audience demographics