fpl_game_rules
Resolve player positions, chips, phases, and scoring settings from lookup tables. Get game rules and total player count for rank context.
Instructions
Positions, chips, phases and scoring settings — the lookup tables the other tools' ids refer to.
Returns: {element_types:[{id:1-4, singular_name:'Goalkeeper', plural_name, squad_select, squad_min_play, squad_max_play, element_count}], chips:[{id, name:'wildcard'|'freehit'|'bboost'|'3xc', number, start_event, stop_event}], phases:[{id, name:'Overall'|'August', start_event, stop_event}], game_settings:{squad_squadplay, squad_total_spend, transfers_cost, transfers_limit, …}, element_stats:[{label:'Goals scored', name:'goals_scored'}], total_players:4085510} — element_types resolves the element_type id on every player (1 GK, 2 DEF, 3 MID, 4 FWD). total_players is how many squads exist worldwide, which is what an overall rank is out of.
Example: The lookup tables
Auth: works without a key; FPL_SESSION_COOKIE unlocks more if set.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fpl_game_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||