Skip to main content
Glama

Panenka: Fantasy Premier League (soccer)

Goals against expected goals

xg_luck
Read-onlyIdempotent

Premier League (soccer) players' goals against their expected goals (xG, the quality of the chances their shots came from) over the last few gameweeks or the season: who has scored fewer than their chances were worth (due a goal) and who more (running hot), or one player's numbers.

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

Input Schema

NameRequiredDescriptionDefault
viewNoWhich list (default due_a_goal).
limitNoHow many to return (default 10).
leagueNoThe user's league. Leave it out for an official FPL Draft league (FPL scoring and positions, 10 teams, 11 starters + 4 bench). Set only what differs.
playerNoOne player's goals and xG instead of a list.
positionNoOnly players at this position (the league's positions).
last_gameweeksNoOnly the last this many played gameweeks (default the whole season).

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?

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds real value by explaining what xG means and what the two views represent ('due a goal' vs 'running hot'), which is interpretation the agent needs. It says nothing about how many records come back, ordering, or what happens when a player name is ambiguous.

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 that leads with the domain, then defines xG, then states the two output interpretations. The nested parentheticals are dense and the trailing 'or one player's numbers' is slightly tacked on, but no sentence is wasted.

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

Completeness3/5

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

For a tool with a large nested league object and no output schema, the description covers purpose and metric but says nothing about the shape of the returned records (fields, ordering, whether xG and goals are both returned per player). The schema carries the parameter burden well, but return-value context is missing where there is no output schema to compensate.

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

Parameters4/5

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

With 100% schema description coverage the baseline is 3, but the description earns more by giving conceptual meaning to the two view enum values that the schema only labels ('Which list (default due_a_goal)'), and by framing last_gameweeks as 'the last few gameweeks or the season'. The heavy league parameter is left entirely to the schema, which is reasonable given its thorough documentation.

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 a specific resource (Premier League players' goals vs expected goals) and defines the metric inline, so the agent knows exactly what dataset is returned. It also covers the two modes (list of 'due a goal'/'running hot' players, or one player's numbers). It stops short of distinguishing itself from siblings like rank_players or get_player, which also surface per-player numbers.

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 implied rather than stated: the agent can infer this is the tool for over/under-performance against xG, and that passing a player name switches to single-player mode. There is no explicit when-not guidance and no named alternative for the overlapping cases (e.g., get_player or rank_players), leaving the agent to infer routing.

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