Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

fpl_h2h_league

Read-onlyIdempotent

Retrieve head-to-head league standings with win/draw/loss records and points. Input a league ID to get ranked teams, match records, and FPL points scored, enabling analysis of league performance.

Instructions

Head-to-head league standings with win/draw/loss records.

Returns: {league:{id, name, league_type, scoring:'h'}, standings:{has_next, page, results:[{id, entry, entry_name, player_name, rank, last_rank, total, matches_played, matches_won, matches_drawn, matches_lost, points_for}]}} — total is H2H league points (3 a win), points_for the FPL points scored. Ranking is on total, so a high scorer can sit mid-table.

Example: An H2H table {"leagueId": 1}

Auth: works without a key; FPL_SESSION_COOKIE unlocks more if set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leagueIdYesH2H league id (from fpl_manager's `leagues.h2h`). A classic-league id 404s here. Required — part of the URL path.
page_standingsNoStandings page.
Behavior5/5

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

Beyond the readOnlyHint/idempotentHint annotations, the description discloses key behaviors: the return structure, the distinction between total (H2H points) and points_for (FPL points), the ranking on total, the auth behavior (works without key, FPL_SESSION_COOKIE unlocks more), and the 404 on classic-league ids in the schema. This is rich, useful context.

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?

The description is well-organized and front-loaded with the core purpose. It uses a code block for the return shape and a separate example and auth note. However, it is slightly lengthy and the example ('An H2H table' followed by an input object) is a bit confusing, so it loses a point.

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?

With no output schema, the description fully explains the return payload, field meanings, ranking logic, and auth prerequisites. It also covers edge cases (404 for classic ids) and provides an example. This is a complete and self-contained description for the tool's complexity.

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?

The input schema already provides full coverage (100%) for both parameters, including that leagueId is an H2H league id from fpl_manager and that a classic-league id 404s. The description adds only a trivial example, so it does not meaningfully enhance parameter understanding beyond the schema.

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

Purpose5/5

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

The description begins with 'Head-to-head league standings with win/draw/loss records,' clearly identifying the tool's function and resource. It differentiates from siblings like fpl_classic_league by explicitly focusing on H2H scoring and even notes in the schema that a classic-league id 404s, reinforcing the distinction.

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?

The description provides clear context that this is for H2H league standings, and the schema adds that classic-league ids are invalid. However, it does not explicitly name alternatives like fpl_classic_league or state when to prefer one over the other, so the guidance is implied rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanielTomaro13/sportsdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server