Skip to main content
Glama

footballcharts-mcp

Team page

get_team
Read-onlyIdempotent

Returns one team's season in one league: its table row (with expected points and luck category), the full match log (date, opponent, home or away, score, half-time score, first-goal minute, outcome), goals per 15-minute period, the first-goal distribution, and season averages of match statistics (shots, shots on target, possession, corners, xG) where the league has them. team is a lower-case slug with hyphens, e.g. 'arsenal' or 'manchester-city'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamYesTeam slug, e.g. 'arsenal', 'manchester-city' (from the table's team names, lower-case, spaces as hyphens)
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
slugNo
teamNo
statsNoPer-match averages over this season, computed from stored match statistics; null where the league has none
leagueNo
seasonNo
matchesNo
rankingNoThe team's table row
seasonsNo
attributionNoCite as "Data by football-charts.com"
first_goal_binsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedOutput schema / properties / first_goal_bins / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "count": {
      -          "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -        },
      -        "time": {
      -          "$ref": "#/properties/team"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "count": {},
      +        "time": {}
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / league / $ref
      Removed value: -"#/properties/team"
    • changedOutput schema / properties / matches / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "away": {
      -          "$ref": "#/properties/team"
      -        },
      -        "date": {
      -          "$ref": "#/properties/team"
      -        },
      -        "first_goal_time": {
      -          "$ref": "#/properties/team"
      -        },
      -        "home": {
      -          "$ref": "#/properties/team"
      -        },
      -        "ht": {
      -          "$ref": "#/properties/team"
      -        },
      -        "outcome": {
      -          "$ref": "#/properties/team",
      -          "description": "'W' | 'D' | 'L'"
      -        },
      -        "score": {
      -          "$ref": "#/properties/team"
      -        },
      -        "time": {
      -          "$ref": "#/properties/team"
      -        },
      -        "venue": {
      -          "$ref": "#/properties/team",
      -          "description": "'H' or 'A'"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "away": {},
      +        "date": {},
      +        "first_goal_time": {},
      +        "home": {},
      +        "ht": {},
      +        "outcome": {
      +          "description": "'W' | 'D' | 'L'"
      +        },
      +        "score": {},
      +        "time": {},
      +        "venue": {
      +          "description": "'H' or 'A'"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / ranking / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "avg_goals_conceded": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      },
      -      "avg_goals_scored": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/expected_points"
      -      },
      -      "clean_sheets": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "drawn": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "expected_points": {
      -        "description": "Points the underlying numbers say the team should have"
      -      },
      -      "expected_position": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "goal_difference": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "goals_against": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "goals_for": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "last_5_form": {
      -        "$ref": "#/properties/team",
      -        "description": "Latest results as letters, e.g. 'WWDLW'"
      -      },
      -      "last_5_points": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "lost": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "luck_category": {
      -        "$ref": "#/properties/team",
      -        "description": "'lucky' | 'fair' | 'unlucky'"
      -      },
      -      "luck_difference": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/expected_points",
      -        "description": "points − expected_points; positive = ahead of the numbers"
      -      },
      -      "over_25_percentage": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      },
      -      "played": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "points": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "position": {},
      -      "team": {
      -        "type": "string"
      -      },
      -      "won": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      }
      -    },
      -    "required": [
      -      "team"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "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": "null"
      +  }
      +]
    • removedOutput schema / properties / season / $ref
      Removed value: -"#/properties/team"
    • removedOutput schema / properties / slug / $ref
      Removed value: -"#/properties/team"
    • changedOutput schema / properties / stats / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "corners_avg": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      },
      -      "matches_with_stats": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/position"
      -      },
      -      "possession_avg": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      },
      -      "shots_against_avg": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      },
      -      "shots_avg": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      },
      -      "shots_on_target_avg": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      },
      -      "xg_against_avg": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      },
      -      "xg_avg": {
      -        "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "corners_avg": {},
      +      "matches_with_stats": {},
      +      "possession_avg": {},
      +      "shots_against_avg": {},
      +      "shots_avg": {},
      +      "shots_on_target_avg": {},
      +      "xg_against_avg": {},
      +      "xg_avg": {}
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  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. Changed1 schema field changed
    • addedOutput schema / properties / stats
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "corners_avg": {
      +          "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +        },
      +        "matches_with_stats": {
      +          "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +        },
      +        "possession_avg": {
      +          "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +        },
      +        "shots_against_avg": {
      +          "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +        },
      +        "shots_avg": {
      +          "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +        },
      +        "shots_on_target_avg": {
      +          "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +        },
      +        "xg_against_avg": {
      +          "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +        },
      +        "xg_avg": {
      +          "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Per-match averages over this season, computed from stored match statistics; null where the league has none"
      +}
  4. Changed1 schema field changed
    • 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"
      +      ]
      +    },
      +    "first_goal_bins": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "count": {
      +                "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +              },
      +              "time": {
      +                "$ref": "#/properties/team"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "league": {
      +      "$ref": "#/properties/team"
      +    },
      +    "matches": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "away": {
      +                "$ref": "#/properties/team"
      +              },
      +              "date": {
      +                "$ref": "#/properties/team"
      +              },
      +              "first_goal_time": {
      +                "$ref": "#/properties/team"
      +              },
      +              "home": {
      +                "$ref": "#/properties/team"
      +              },
      +              "ht": {
      +                "$ref": "#/properties/team"
      +              },
      +              "outcome": {
      +                "$ref": "#/properties/team",
      +                "description": "'W' | 'D' | 'L'"
      +              },
      +              "score": {
      +                "$ref": "#/properties/team"
      +              },
      +              "time": {
      +                "$ref": "#/properties/team"
      +              },
      +              "venue": {
      +                "$ref": "#/properties/team",
      +                "description": "'H' or 'A'"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "ranking": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "avg_goals_conceded": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +            },
      +            "avg_goals_scored": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/expected_points"
      +            },
      +            "clean_sheets": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "drawn": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "expected_points": {
      +              "description": "Points the underlying numbers say the team should have"
      +            },
      +            "expected_position": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "goal_difference": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "goals_against": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "goals_for": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "last_5_form": {
      +              "$ref": "#/properties/team",
      +              "description": "Latest results as letters, e.g. 'WWDLW'"
      +            },
      +            "last_5_points": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "lost": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "luck_category": {
      +              "$ref": "#/properties/team",
      +              "description": "'lucky' | 'fair' | 'unlucky'"
      +            },
      +            "luck_difference": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/expected_points",
      +              "description": "points − expected_points; positive = ahead of the numbers"
      +            },
      +            "over_25_percentage": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/avg_goals_scored"
      +            },
      +            "played": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "points": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            },
      +            "position": {},
      +            "team": {
      +              "type": "string"
      +            },
      +            "won": {
      +              "$ref": "#/properties/ranking/anyOf/0/properties/position"
      +            }
      +          },
      +          "required": [
      +            "team"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The team's table row"
      +    },
      +    "season": {
      +      "$ref": "#/properties/team"
      +    },
      +    "seasons": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "slug": {
      +      "$ref": "#/properties/team"
      +    },
      +    "team": {}
      +  },
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, so the safety profile is covered. The description adds genuinely useful context beyond that: some season statistics only exist "where the league has them", and it clarifies the slug format the caller must supply. It stops short of stating rate limits or pagination (presumably not applicable).

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

Conciseness4/5

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

Purpose is front-loaded in the first clause, and the long enumeration is a single sentence that each element of which maps to real returned data. The trailing slug-format sentence is somewhat redundant with the schema, slightly lowering efficiency.

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

Completeness4/5

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

With an output schema present, the description need not explain return values, and annotations cover the safety profile, so the remaining burden is light. The detailed payload summary plus the league-dependent data caveat make it complete for a read tool; only explicit sibling routing is absent.

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

Parameters3/5

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

Schema description coverage is 100%, so team, league, and season semantics are already fully documented there, including the slug convention and season defaults. The description's slug example ('arsenal' or 'manchester-city') merely restates the schema, adding no new meaning, so the baseline 3 applies.

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 scoped precisely: "Returns one team's season in one league". It then enumerates the payload (table row, match log, 15-minute goal periods, first-goal distribution, season stat averages), which cleanly separates it from get_league_table (whole table), get_match (single match), and get_results (scorelines).

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

Usage Guidelines3/5

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

There is no explicit when-to-use statement or exclusion relative to get_league_table, get_match, or get_results. Usage is only implied by the enumerated contents — an agent can infer this is the per-team deep-dive, but the description never says so or names an alternative.

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.