xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Mcps
  4. ›
  5. Classify Player Roles

Mcps
Mcps
Tool

Classify Player Roles

classify_player_roles

Classify each team player's positional role based on where they spent time during the demo: defender / 2nd_defender / middle / 2nd_attacker / attacker (scaled to actual team size). For CTF, provide the 'map' argument so flag positions can be read from the BSP entity lump — this yields an accurate forward axis. Without a map, the tool falls back to ranking players by their centroid distance toward the enemy team spawn cluster. Only the POV player's trace is always complete; other players have sparse traces (see generate_player_heatmap notes). Call open_demo first to get a session_id.


Pricing

Per call

$0.02

Model

time-based


Pay only for what you use. No subscriptions.
Inputs

map

stringnull

session_id *

string

team

stringnull
Try It
API
MCP Config
Input Parameters
map
Map name or path for flag/spawn positions (same lookup as get_bsp_info). Strongly recommended for CTF — used to establish the forward axis. Omit to fall back to team-spawn centroids.
session_id *
Analysis session ID (from open_demo)
team
Team to classify ('red' or 'blue'). Omit to classify both teams.
Cost per run
Execution cost
$0.02
Deducted from your xPay allowance
xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service