Skip to main content
Glama

footballcharts-mcp

League table

get_league_table
Read-onlyIdempotent

Returns the standings of one league season: one row per team with position, played, wins, draws, losses, goals, points and last-five form, plus expected points and a luck category (how far results run ahead of or behind the underlying performance). view='luck' orders the same rows by over- or under-performance and view='goals' by goals scored; the default orders by points. Without a season, returns the current season.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoRow order; default 'classic' (by points)
leagueYesLeague key as listed by list_leagues, e.g. 'premier' (England), 'spain1', 'brazil1', 'sweden1', 'wgermany1' (women). Not the display name.
seasonNoSeason string as listed by list_leagues: '2026-2027' for winter-calendar leagues, '2026' for summer-calendar leagues (Brazil, Sweden, Norway, Japan…). Omit for the current season. The free tier serves the current and previous season.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNo
tableNo
leagueNo
seasonNo
attributionNoCite as "Data by football-charts.com"
season_stateNo'in_season' or 'finished'
current_seasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedOutput schema / properties / current_season / $ref
      Removed value: -"#/properties/league"
    • removedOutput schema / properties / season / $ref
      Removed value: -"#/properties/league"
    • removedOutput schema / properties / season_state / $ref
      Removed value: -"#/properties/league"
    • changedOutput schema / properties / table / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "avg_goals_conceded": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/avg_goals_scored"
      -        },
      -        "avg_goals_scored": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/expected_points"
      -        },
      -        "clean_sheets": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "drawn": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "expected_points": {
      -          "description": "Points the underlying numbers say the team should have"
      -        },
      -        "expected_position": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "goal_difference": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "goals_against": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "goals_for": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "last_5_form": {
      -          "$ref": "#/properties/league",
      -          "description": "Latest results as letters, e.g. 'WWDLW'"
      -        },
      -        "last_5_points": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "lost": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "luck_category": {
      -          "$ref": "#/properties/league",
      -          "description": "'lucky' | 'fair' | 'unlucky'"
      -        },
      -        "luck_difference": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/expected_points",
      -          "description": "points − expected_points; positive = ahead of the numbers"
      -        },
      -        "over_25_percentage": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/avg_goals_scored"
      -        },
      -        "played": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "points": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        },
      -        "position": {},
      -        "team": {
      -          "type": "string"
      -        },
      -        "won": {
      -          "$ref": "#/properties/table/anyOf/0/items/properties/position"
      -        }
      -      },
      -      "required": [
      -        "team"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "avg_goals_conceded": {},
      +        "avg_goals_scored": {},
      +        "clean_sheets": {},
      +        "drawn": {},
      +        "expected_points": {
      +          "description": "Points the underlying numbers say the team should have"
      +        },
      +        "expected_position": {},
      +        "goal_difference": {},
      +        "goals_against": {},
      +        "goals_for": {},
      +        "last_5_form": {
      +          "description": "Latest results as letters, e.g. 'WWDLW'"
      +        },
      +        "last_5_points": {},
      +        "lost": {},
      +        "luck_category": {
      +          "description": "'lucky' | 'fair' | 'unlucky'"
      +        },
      +        "luck_difference": {
      +          "description": "points − expected_points; positive = ahead of the numbers"
      +        },
      +        "over_25_percentage": {},
      +        "played": {},
      +        "points": {},
      +        "position": {},
      +        "team": {
      +          "type": "string"
      +        },
      +        "won": {}
      +      },
      +      "required": [
      +        "team"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / view / $ref
      Removed value: -"#/properties/league"
  2. Changed2 schema fields changed
    • changedInput schema / properties / league / description
      Previous value: -"League key from list_leagues, e.g. 'premier' (England), 'spain1', 'brazil1', 'sweden1', 'wgermany1' (women). Not the display name."New value: +"League key as listed by list_leagues, e.g. 'premier' (England), 'spain1', 'brazil1', 'sweden1', 'wgermany1' (women). Not the display name."
    • changedInput schema / properties / season / description
      Previous value: -"Season string exactly as list_leagues returns it: winter-calendar leagues look like '2026-2027', summer-calendar leagues (Brazil, Sweden, Norway, Japan…) like '2026'. Omit for the current season. The free tier serves the current and previous season only."New value: +"Season string as listed by list_leagues: '2026-2027' for winter-calendar leagues, '2026' for summer-calendar leagues (Brazil, Sweden, Norway, Japan…). Omit for the current season. The free tier serves the current and previous season."
  3. Changed5 schema fields changed
    • addedInput schema / properties / view / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "classic",
      +      "luck",
      +      "goals"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / view / description
      Previous value: -"Ranking view; default 'classic'"New value: +"Row order; default 'classic' (by points)"
    • removedInput schema / properties / view / enum
      Removed value: -[
      -  "classic",
      -  "luck",
      -  "goals"
      -]
    • removedInput schema / properties / view / type
      Removed value: -"string"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "attribution": {
      +      "description": "Cite as \"Data by football-charts.com\"",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "current_season": {
      +      "$ref": "#/properties/league"
      +    },
      +    "league": {},
      +    "season": {
      +      "$ref": "#/properties/league"
      +    },
      +    "season_state": {
      +      "$ref": "#/properties/league",
      +      "description": "'in_season' or 'finished'"
      +    },
      +    "table": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "avg_goals_conceded": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/avg_goals_scored"
      +              },
      +              "avg_goals_scored": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/expected_points"
      +              },
      +              "clean_sheets": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "drawn": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "expected_points": {
      +                "description": "Points the underlying numbers say the team should have"
      +              },
      +              "expected_position": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "goal_difference": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "goals_against": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "goals_for": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "last_5_form": {
      +                "$ref": "#/properties/league",
      +                "description": "Latest results as letters, e.g. 'WWDLW'"
      +              },
      +              "last_5_points": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "lost": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "luck_category": {
      +                "$ref": "#/properties/league",
      +                "description": "'lucky' | 'fair' | 'unlucky'"
      +              },
      +              "luck_difference": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/expected_points",
      +                "description": "points − expected_points; positive = ahead of the numbers"
      +              },
      +              "over_25_percentage": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/avg_goals_scored"
      +              },
      +              "played": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "points": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              },
      +              "position": {},
      +              "team": {
      +                "type": "string"
      +              },
      +              "won": {
      +                "$ref": "#/properties/table/anyOf/0/items/properties/position"
      +              }
      +            },
      +            "required": [
      +              "team"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "view": {
      +      "$ref": "#/properties/league"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so safety is covered. The description adds genuinely new behavioral context beyond the annotations: the exact column set returned, what the luck category means (results running ahead of/behind underlying performance), and the free-tier constraint ('serves the current and previous season'). It stops short of describing pagination or result-size behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the primary return shape before the view and season modifiers. Every clause carries information: the row schema, the two non-default orderings, the default, and the season fallback. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value documentation is not required, and annotations cover the safety profile. Given that, the description supplies everything else an agent needs: what a row contains, the meaning of the luck metric, how each view reorders rows, and the free-tier season limit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema itself defines all three parameters well, so the baseline is 3. The description goes further by explaining what each view ordering actually means ('luck' orders by over-/under-performance, 'goals' by goals scored, default by points) and by clarifying the season-omission behavior, adding semantics beyond the schema's terse field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Returns the standings of one league season') and enumerates the row shape (position, played, wins, draws, losses, goals, points, form, expected points, luck category). This makes it immediately distinguishable from siblings like get_results, get_fixtures, and get_season_projection, which cover different slices of data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains the decision between the three view values (luck, goals, default by points) and states that omitting season yields the current season, plus points the agent at list_leagues for valid league and season keys. It stops short of explicitly saying when to reach for this tool over sibling tools such as get_season_projection or get_track_record, so no exclusion guidance is present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.