Skip to main content
Glama

Fantasy Premier League MCP Server

MIT License
37
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
transfer_advice_promptCreate a prompt for getting detailed FPL transfer advice Args: budget: Available budget in millions (e.g., 8.5) position: Optional position to target (e.g., MID, FWD, DEF, GKP) team_to_sell: Optional team name if selling a player from that team
player_analysis_promptCreate a prompt for analyzing an FPL player in depth Args: player_name: Name of the player to analyze include_comparisons: Whether to compare with similar players
team_rating_promptCreate a prompt for rating and analyzing an FPL team Args: player_list: Comma-separated list of players in the team budget_remaining: Remaining budget in millions
differential_players_promptCreate a prompt for finding differential players with low ownership Args: max_ownership: Maximum ownership percentage to consider budget: Optional maximum budget per player in millions
chip_strategy_promptCreate a prompt for chip strategy advice Args: available_chips: Comma-separated list of available chips (e.g., "Wildcard, Free Hit, Bench Boost")

Resources

Contextual data attached and managed by the client

NameDescription
fpl://static/players
fpl://static/teams
fpl://gameweeks/current
fpl://gameweeks/all
fpl://fixtures
fpl://gameweeks/blank
fpl://gameweeks/double

Tools

Functions exposed to the LLM to take actions

NameDescription
get_team

Get any team's players, captain, and other details for a specific gameweek

Args: team_id: FPL team ID (required) gameweek: Gameweek number (defaults to current gameweek) Returns: Detailed team information including player details, captain, and value
get_my_team

Get your own FPL team for a specific gameweek

Args: gameweek: Gameweek number (defaults to current gameweek) Returns: Detailed team information including player details, captain, and value Note: This uses your authenticated team ID from the FPL credentials. To get another team's details, use get_team and provide a team_id.
get_manager

Get detailed information about an FPL manager

Args: team_id: FPL team ID to look up Returns: Manager information including history, name, team details, and leagues
get_manager_info

Get detailed information about an FPL manager

Args: team_id: FPL team ID (defaults to authenticated user) Returns: Manager info with leagues and performance stats
get_league_standings

Get standings for a specified FPL league

Args: league_id: ID of the league to fetch Returns: League information with standings and team details
get_league_analytics

Get rich analytics for a Fantasy Premier League mini-league

Returns visualization-optimized data for various types of league analysis. Args: league_id: ID of the league to analyze analysis_type: Type of analysis to perform: - "overview": General league overview (default) - "historical": Historical performance analysis - "team_composition": Team composition analysis - "decisions": Captain and transfer decision analysis - "fixtures": Fixture difficulty comparison start_gw: Starting gameweek (defaults to 1 or use "current-N" format) end_gw: Ending gameweek (defaults to current) Returns: Rich analytics data structured for visualization
get_player_information

Get detailed information and statistics for a specific player

Args: player_id: FPL player ID (if provided, takes precedence over player_name) player_name: Player name to search for (used if player_id not provided) start_gameweek: Starting gameweek for filtering player history end_gameweek: Ending gameweek for filtering player history include_history: Whether to include gameweek-by-gameweek history include_fixtures: Whether to include upcoming fixtures Returns: Comprehensive player information including stats and history
search_fpl_players

Search for FPL players by name with optional filtering

Args: query: Player name or partial name to search for position: Optional position filter (GKP, DEF, MID, FWD) team: Optional team name filter limit: Maximum number of results to return Returns: List of matching players with details
check_fpl_authentication

Check if FPL authentication is working correctly

Returns: Authentication status and basic team information
get_gameweek_status

Get precise information about current, previous, and next gameweeks

Returns: Detailed information about gameweek timing, including exact status
analyze_player_fixtures

Analyze upcoming fixtures for a player and provide a difficulty rating

Args: player_name: Player name to search for num_fixtures: Number of upcoming fixtures to analyze (default: 5) Returns: Analysis of player's upcoming fixtures with difficulty ratings
get_blank_gameweeks

Get information about upcoming blank gameweeks where teams don't have fixtures

Args: num_gameweeks: Number of upcoming gameweeks to check (default: 5) Returns: Information about blank gameweeks and affected teams
get_double_gameweeks

Get information about upcoming double gameweeks where teams play multiple times

Args: num_gameweeks: Number of upcoming gameweeks to check (default: 5) Returns: Information about double gameweeks and affected teams
analyze_players

Filter and analyze FPL players based on multiple criteria

Args: position: Player position (e.g., "midfielders", "defenders") team: Team name filter min_price: Minimum player price in millions max_price: Maximum player price in millions min_points: Minimum total points min_ownership: Minimum ownership percentage max_ownership: Maximum ownership percentage form_threshold: Minimum form rating include_gameweeks: Whether to include gameweek-by-gameweek data num_gameweeks: Number of recent gameweeks to include sort_by: Metric to sort results by (default: total_points) sort_order: Sort direction ("asc" or "desc") limit: Maximum number of players to return Returns: Filtered player data with summary statistics
analyze_fixtures

Analyze upcoming fixtures for players, teams, or positions

Args: entity_type: Type of entity to analyze ("player", "team", or "position") entity_name: Name of the specific entity num_gameweeks: Number of gameweeks to look ahead include_blanks: Whether to include blank gameweek info include_doubles: Whether to include double gameweek info Returns: Fixture analysis with difficulty ratings and summary
compare_players

Compare multiple players across various metrics

Args: player_names: List of player names to compare (2-5 players recommended) metrics: List of metrics to compare include_gameweeks: Whether to include gameweek-by-gameweek comparison num_gameweeks: Number of recent gameweeks to include in comparison include_fixture_analysis: Whether to include fixture analysis including blanks and doubles Returns: Detailed comparison of players across the specified metrics

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/rishijatia/fantasy-pl-mcp'

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