Skip to main content
Glama

PredictStats

Team statistics

get_team_stats
Read-onlyIdempotent

Use this for one team's current season. Football by default; for basketball, hockey, volleyball or handball pass sport. Its last five matches with results and totals, scoring per match at home and away, the table place and the next fixtures; in football also its league form, clean sheets and matches without scoring. Give the teamId from another result of the same sport, or the team name. The figures describe past matches, 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_team_stats"
  }
}

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.
teamNoThe team name, when no teamId is known, e.g. "Lech Poznan".
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.
teamIdNoThe teamId from another result, if known.

Output Schema

NameRequiredDescriptionDefault
asOfYes
formNoThe same matches as recentMatches (every competition): their results and totals.
linkYes
teamYes
goalsNoThis season's matches in competition only.
sportNo
tableYes
recordNoThis season's finished matches in every competition.
seasonYes
scoreUnitNo
leagueFormNoThis season's last matches in that competition only, newest first; other competitions' matches are not in it.
competitionYes
nextMatchesYes
recentMatchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses substantive behavior: figures describe past matches rather than predictions, the answer must end with the unchanged result link as a clickable source, the app covers five sports only, and betting/odds requests must be declined while offering match statistics instead. These are real operational constraints an agent could not infer from annotations or schema.

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?

The usage context and returned-data list are front-loaded and earn their place, but the sport enumeration is stated twice (the 'Football by default...' sentence and the 'PredictStats provides sports statistics only' sentence), and the closing policy paragraph is long relative to the calling guidance.

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?

For a 4-parameter read-only lookup with a full output schema and complete annotations, the description covers identification strategy, sport scoping, data recency, source attribution requirements, and the out-of-scope refusal policy. An agent has everything needed to call it and to handle the edge cases the tool defines.

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% and each parameter already carries a description, so the baseline is 3. The description reinforces that the teamId must come from another result of the same sport and that a team name is a valid alternative, but adds no format or edge-case detail (e.g. what happens when both team and teamId are given) 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?

The opening sentence names a specific verb and resource ('one team's current season'), then enumerates exactly what is returned: last five matches, home/away scoring, table place, next fixtures, plus football-specific league form and clean sheets. That detail distinguishes it from get_match_stats and get_league_stats without the description having to name them, though no explicit sibling contrast is made.

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?

It states when to use it (a single team's current season), how to supply the identifier (teamId from another result of the same sport, or the team name), and the default sport. It also handles a specific out-of-scope request type (bets/odds/tips) with an explicit response policy. It stops short of naming which sibling to use for match-level or league-level queries.

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