Skip to main content
Glama
FPL Assistant

FPL Assistant

by mpvii

understat_teams

Fetch per-team expected goals for, against, and xG difference to assess attacking and defensive strength for FPL team comparisons.

Instructions

Understat per-team xG for/against and xG difference (attacking/defensive strength).

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": "understat_teams"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and it does little: it doesn't say the data source's scope (which league/season), whether results are a fixed snapshot, whether the call is read-only and safe, or how many teams are returned. It discloses only that the metrics are derived from Understat.

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 tight sentence with the key metrics front-loaded and no filler. It is efficient, though the phrasing is dense enough that some readers may need to parse the parenthetical twice.

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

Completeness2/5

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

For a simple, annotation-free read tool with no output schema, the description should cover at least what `limit` does and roughly what shape the response takes. Neither is present, leaving the agent guessing about scope and return structure before invoking.

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

Parameters2/5

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

There is one parameter (`limit`, default 20) with 0% schema description coverage, and the description never mentions it. An agent cannot tell from either source what `limit` restricts — number of teams, rows, or stat entries — or what ordering applies before truncation.

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 description names the resource (per-team Understat xG) and the specific measures returned — xG for, xG against, and xG difference — with a parenthetical tying them to attacking/defensive strength. An agent can tell this is a team-level stats lookup, distinct from the sibling understat_players, though the differentiation comes mostly from the name rather than the text.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to reach for this tool versus alternatives such as team_form, league_strength, or understat_players. The parenthetical hints at the analytical use case but states no conditions, prerequisites, or exclusions.

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