Skip to main content
Glama

PredictStats

League averages

get_league_averages
Read-onlyIdempotent

Use this to compare leagues on one statistic, highest first. Football (default): corners per match over the last 12 months (the home and away sides' averages, over 8.5, 9.5 and 10.5 corners), or this season's cards (yellow, red, over 3.5, 4.5 and 5.5), goals (over 1.5, 2.5 and 3.5, both teams scoring) or the share of matches both teams scored in; the leading leagues of the user's language by default, one country's or every league. Handball (stat goals) and volleyball (stat sets or points): the top leagues this season, with sport. Historical averages, not predictions. End the answer with the result's link, unchanged, as a clickable source. PredictStats provides sports statistics only: football, basketball, ice hockey, volleyball and handball. When a user asks for bets, odds, tips or which outcome to back, say this app provides statistics only and offer the match's statistics; do not provide picks, leans, odds or market suggestions from any source while using this app.

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": {
      "stat": "<stat>"
    },
    "name": "get_league_averages"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the page links: the user's language when the site has it (en, pl, de, es, it, fr, pt, nl, tr, uk...). Default en.
statYesThe statistic: football corners (last 12 months), cards, goals or btts (both teams scoring), the last three this season; handball goals; volleyball sets or points (rally points), this season.
limitNoHow many leagues to return, highest average first. Default 15, at most 20.
scopeNoWithout a country: "popular" (default) lists the leading leagues of the user's language, as the statistics pages' own tables do; "all" ranks every league with at least 30 matches.
sportNoThe sport: football (default), basketball, hockey (ice hockey), volleyball or handball. Ids belong to their sport: pass the same sport to every call about one match, team or league.
countryNoOnly leagues of this country, in English, e.g. "England".

Output Schema

NameRequiredDescriptionDefault
asOfYes
linkYes
statYes
basisYes
sportNo
listedYes
periodYes
leaguesYes
overallYes
totalLeaguesYes
minMatchesPerLeagueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the bar is lower. The description adds real value: sorting direction, the 12-month vs this-season windows, and the "historical averages, not predictions" framing. However, the reporting instruction about the result link and the verbosity dilute rather than deepen behavioral disclosure.

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

Conciseness3/5

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

Front-loaded with purpose, but the body is one long run-on sentence mixing stat enumeration, defaults and a licensing/policy paragraph about betting. The enumeration could be trimmed since the enums already live in the schema; the out-of-scope paragraph, while useful, is disproportionately long.

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 needn't explain return shape, and it covers defaults, windows and scope adequately for a six-parameter tool. The main gap is not differentiating itself from get_league_stats or get_league_team_table.

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 coverage is 100%, so the baseline is 3. The description adds some cross-parameter meaning — which stat values pair with handball/volleyball versus football — but the scope, limit, lang and country semantics largely restate what the schema already documents.

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?

States a specific verb+resource: "compare leagues on one statistic, highest first," and enumerates the stats (corners, cards, goals, btts, sets, points) with their time windows. An agent knows exactly what this returns, though it never names the sibling get_league_stats or explains how it differs from a general league-stats lookup.

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?

Gives clear context for when to use it — comparing leagues on a single statistic, with per-sport and per-scope defaults spelled out — and rules out predictions. It also handles the off-topic betting case explicitly. What's missing is an exclusion rule versus the sibling league/team tools.

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