Performance Insights
get_performance_insightsEngagement-ranked performance over a recent window: top performers, underperformers, and an LLM-generated summary of what worked and one candidate angle to try next. Reads stored post performance (post_performance) and matches it to FeedSquad posts by platform_post_id, so MCP-created and campaign-created posts are both covered. PRIVACY: when include_summary is true (default), post text and aggregate engagement metrics are sent to FeedSquad's configured LLM provider for summarisation; include_summary=false returns only the structured metrics. Each row carries its post_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_performance_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Top + bottom performers to return (default 5, max 10). | |
| platform | No | A single platform to report on. | |
| lookback_days | No | Days to consider (default 30, max 180). | |
| include_summary | No | When true (default), the result includes an LLM summary. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| summary | No | ||
| platform | Yes | ||
| sample_size | Yes | ||
| lookback_days | Yes | ||
| top_performers | Yes | ||
| underperformers | Yes | ||
| suggested_next_angle | No |