analyze_players
Filter and analyze Fantasy Premier League players by position, team, price, points, ownership, and form. Use customizable criteria and sort by key metrics to optimize your FPL strategy.
Instructions
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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
form_threshold | No | ||
include_gameweeks | No | ||
limit | No | ||
max_ownership | No | ||
max_price | No | ||
min_ownership | No | ||
min_points | No | ||
min_price | No | ||
num_gameweeks | No | ||
position | No | ||
sort_by | No | total_points | |
sort_order | No | desc | |
team | No |
Input Schema (JSON Schema)
{
"properties": {
"form_threshold": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Form Threshold"
},
"include_gameweeks": {
"default": false,
"title": "Include Gameweeks",
"type": "boolean"
},
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
},
"max_ownership": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Max Ownership"
},
"max_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Max Price"
},
"min_ownership": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Min Ownership"
},
"min_points": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Min Points"
},
"min_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Min Price"
},
"num_gameweeks": {
"default": 5,
"title": "Num Gameweeks",
"type": "integer"
},
"position": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Position"
},
"sort_by": {
"default": "total_points",
"title": "Sort By",
"type": "string"
},
"sort_order": {
"default": "desc",
"title": "Sort Order",
"type": "string"
},
"team": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Team"
}
},
"title": "analyze_playersArguments",
"type": "object"
}