rank_posts
Analyze and rank social media posts by engagement metrics to identify high-performing content, separate text from media posts, and extract relevant nicknames.
Instructions
Rank fetched posts by engagement, separate text from media posts, and extract nicknames. Uses engagement formula: (likes * 1.0) + (retweets * 2.0) + (replies * 0.5). Retweets weighted highest because sharing is strong signal for humor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"posts": "<posts>"
},
"name": "rank_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes | Posts from fetch_posts (can combine multiple fetches) | |
| top_n | No | Results per category (default: 3, max: 20) | |
| target | No | Target name for nickname extraction (required for nicknames) |