Skip to main content
Glama
ESPN Fantasy Football MCP Server

ESPN Fantasy Football MCP Server

by KBThree13

get_league_standings

Retrieve current or historical ESPN fantasy football league standings by league ID and optional season year.

Instructions

Get current standings for a league.

    Args:
        league_id: The ESPN fantasy football league ID
        year: Optional year for historical data (defaults to current season)
    

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": {
      "league_id": "<league_id>"
    },
    "name": "get_league_standings"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo
league_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. "Get" implies a safe read and the year note discloses the historical-data behavior, but it says nothing about authentication requirements, whether the league must be public/private, or what the standings payload contains (no output schema exists).

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?

One-line purpose followed by a compact two-parameter block, front-loaded with no filler prose. The docstring-style Args formatting is slightly mechanical but costs little.

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?

For a simple two-parameter read tool with no output schema and no annotations, the description covers what the tool returns conceptually and what each input means. The missing piece is authentication/league-access context, which matters for a private-league ESPN endpoint.

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?

Schema description coverage is 0%, so the description must compensate, and it largely does: league_id is identified as the ESPN league ID and year is marked optional with the current-season default and its historical-data purpose. Minor imprecision exists (the schema pins a 2026 default while the text says current season), but both parameters are meaningfully explained.

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?

"Get current standings for a league" is a specific verb plus resource, and the Args block clarifies that it is ESPN fantasy football league standings with an optional historical-year mode. It does not explicitly distinguish itself from siblings such as get_league_info or get_team_info, so an agent must rely on the names alone to separate them.

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: read standings for a league, optionally for a past season. There is no explicit when-to-use guidance, no stated exclusions, and no named alternative for related roster/info questions, leaving routing decisions to inference.

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