xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
M

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.

$0.02/call
Flat rate
Mcps
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to 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.. This is part of the Mcps provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 87+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("quakelive/classify_player_roles")
  2. xpay_run — Execute: xpay_run("quakelive/classify_player_roles", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
mapstring,nullNoMap 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_idstringYesAnalysis session ID (from open_demo)
teamstring,nullNoTeam to classify ('red' or 'blue'). Omit to classify both teams.

Pricing

  • Cost: $0.02/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • Mcps (all tools) — 88 tools
  • Add Player — $0.00/call
  • Add Raw Snapshot — $0.00/call
  • Add Server Command — $0.00/call
  • Analyze Demo — $0.02/call
  • Award Medal — $0.02/call

Links

  • Tool page: https://xpay.tools/quakelive/classify-player-roles/
  • Provider: https://xpay.tools/quakelive/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("quakelive/classify_player_roles")
// 2. Execute
xpay_run("quakelive/classify_player_roles", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

map

stringnullNo

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

string
Yes

Analysis session ID (from open_demo)

team

stringnullNo

Team to classify ('red' or 'blue'). Omit to classify both teams.

Related Tools from Mcps
Add Player — $0.00Add Raw Snapshot — $0.00Add Server Command — $0.00Analyze Demo — $0.02Award Medal — $0.02Check Pvs — $0.02Close Demo — $0.02Create Demo — $0.02
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/quakelive/classify-player-roles/SKILL.md
CLI
npx @xpaysh/cli install quakelive/classify-player-roles
Manual
curl -o SKILL.md https://xpay.tools/skills/quakelive/classify-player-roles/SKILL.md
Pricing

Cost

$0.02/call

Model

Flat rate

Provider

Mcps

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