Skip to main content
Glama

Statof Football Stats

League rankings for a stat

get_league_rankings
Read-onlyIdempotent

Ranks the teams of a league's current season by one stat per match — e.g. most corners won, most cards in their matches, fewest goals conceded — with the league average.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "league": "<league>"
    },
    "name": "get_league_rankings"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNofor = the team's own count, against = its opponents', total = both. Default for.
statNoDefault corners.
orderNoDefault desc (highest first).
top_nNoDefault 10.
venueNoDefault all.
leagueYesLeague name or id, e.g. "Premier League", "La Liga", "Umaglesi Liga".

Output Schema

NameRequiredDescriptionDefault
statYes
teamsYes
leagueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds a few real facts — current season only, one stat at a time, league average included — but says nothing about result truncation beyond top_n, missing-data handling, or which season is 'current'.

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?

A single front-loaded sentence with the verb and scope first, then compact dash-delimited examples that illustrate the stat dimension. The examples are the only length and they earn their place by disambiguating what a 'stat' is.

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 6 parameters, 100% schema coverage, and an output schema, the description only needs to convey purpose and scope, which it does adequately. The residual gap is guidance on choosing this over get_team_stats for a single team's numbers, which is a minor omission rather than a blocking one.

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% and four parameters carry enums with documented defaults, so the schema does the heavy lifting. The description only vaguely gestures at the stat parameter ('one stat per match') and never mentions side, order, top_n, venue, or league resolution (name vs id), adding no meaning beyond the schema.

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

Purpose4/5

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

Names a specific verb+resource: ranks the teams of a league's current season by a single stat, with concrete example stats (corners won, cards, goals conceded). This clearly separates it from per-team siblings like get_team_stats, though it never names an alternative directly.

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?

Usage is only implied: the phrase 'a league's current season' and the stat examples suggest when a league-wide ranking is wanted, but there is no explicit when-to-use, when-not, or sibling routing (e.g. versus get_team_stats or get_patterns).

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.

Resources