Skip to main content
Glama
AsafShai

Fantasy NBA Israel League MCP

by AsafShai

getAveragesLeagueRankings

Retrieve average league rankings for Fantasy NBA Israel League teams, displaying roto scoring across 8 categories with total points and standings.

Instructions

Get the average league rankings from the API. IMPORTANT - SCORING SYSTEM EXPLANATION: This is a ROTISSERIE (ROTO) fantasy league. Teams earn ranking points in 8 categories. CRITICAL: Do NOT confuse "ranking points" with "rank position"! - Category values (fg_percentage, ast, reb, etc.) = POINTS earned (higher is better) - The "rank" field = actual position/place in standings (1 = first place) HOW RANKING POINTS WORK: - In each category, teams are ranked 1st to Nth (where N = number of teams) - Best team in a category gets N points, second-best gets N-1, worst gets 1 - Example in 12-team league: 1st place = 12 pts, 2nd = 11 pts, ..., 12th = 1 pt - total_points = sum of points from all 8 categories - Overall "rank" is determined by total_points (highest total = rank 1) EXAMPLE in a 12-team league: { "team": {"team_name": "Best Team"}, "ast": 12.0, // Earned 12 pts (1st place in assists) "reb": 11.0, // Earned 11 pts (2nd place in rebounds) "stl": 8.0, // Earned 8 pts (5th place in steals) ...other categories... "total_points": 73.0, // Sum of all 8 category points "rank": 1, // Overall standing: 1st place "GP": 55 // Games played (informational only, not ranked) } Args: order: Sort order for rankings. - "desc" = best to worst (top teams first, "from top to bottom", "מלמעלה למטה") - "asc" = worst to best (bottom teams first, "from bottom to top", "מלמטה למעלה") Default is "desc". Returns: A list of teams with their rankings, total points, and stats per category. Each item in the list is a dictionary with the following keys: { "team": { "team_id": <team_id>, "team_name": <team_name> }, "fg_percentage": <ranking_points_for_field_goal_percentage>, "ft_percentage": <ranking_points_for_free_throw_percentage>, "three_pm": <ranking_points_for_three_pointers_made>, "ast": <ranking_points_for_assists>, "reb": <ranking_points_for_rebounds>, "stl": <ranking_points_for_steals>, "blk": <ranking_points_for_blocks>, "pts": <ranking_points_for_points>, "total_points": <sum_of_all_category_ranking_points>, "rank": <overall_position_1_is_first_place>, "GP": <games_played_not_ranked> } NOTES: - Higher values in categories = better performance (more ranking points earned) - "rank" field is opposite: lower number = better (1 is first place) - GP (games played) is informational only, not used in scoring - When referring to steals in Hebrew, use חטיפות (not גניבות) - If you refer to comparing teams, distinguish between rank and total points, so f.e someone can be 1st place 70 total points and another team can be 2nd place 69 total points. - In that case, the difference is 2 points, not 1 place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderNodesc

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AsafShai/nba-fantasy-israel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server