Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

espnfantasy_league

Read-onlyIdempotent

Retrieve fantasy league data with any combination of views in one request when no specific tool matches. Returns league settings, teams, members, plus requested views such as rosters, matchups, or draft details.

Instructions

Raw league read with ANY combination of views — the escape hatch when no dedicated tool below fits, or to fetch several views in one round trip.

Returns: {id, seasonId, scoringPeriodId, settings, status, teams:[…], members:[…]} plus whatever the requested views add (schedule, draftDetail, players, …)

Example: Teams + rosters + settings in one call {"game": "ffl", "seasonId": 2018, "leagueId": 1234, "view": ["mTeam", "mRoster", "mSettings"]}

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameNoFantasy game code. One of: ffl, flb, fba, fhl, wfba.ffl
viewNoOne or more views, sent as repeated params. Verified: mTeam, mRoster, mMatchup, mMatchupScore, mSettings, mStandings, mBoxscore, mScoreboard, mSchedule, mDraftDetail, mTransactions2, mPendingTransactions, mPositionalRatings, mLiveScoring, mNav, mStatus, kona_player_info, kona_playercard, allon.
leagueIdYesYour league id — the `leagueId=` in the fantasy site URL. Required — part of the URL path.
seasonIdYesSeason year (>= 2018; use espnfantasy_league_history for older). Required — part of the URL path.
fantasy_filterNoFilter object; league-scoped views nest under an entity key, e.g. {"players":{"limit":50,"sortPercOwned":{"sortPriority":1,"sortAsc":false}}}.
scoringPeriodIdNoScoring period (NFL week / daily-sport day). Required by mBoxscore, mRoster-at-week, mTransactions2.
Install Server

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds useful context beyond those: the exact return shape, that it returns 'whatever the requested views add,' and the auth note. No contradictions; this is a solid addition.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but efficient, with a front-loaded purpose, a clear return shape, and a compact example. Every sentence earns its place; no fluff or repetition.

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 complex, flexible tool with 6 parameters and many possible views, the description covers the escape-hatch purpose, view selection, an example, scoringPeriodId requirements, and auth. It could more explicitly recommend dedicated tools when they suffice, but the 'no dedicated tool fits' phrase covers that. Overall, sufficient for an agent to call correctly.

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 100%, giving a baseline of 3. The description goes further by providing a concrete example, listing verified views, and highlighting that scoringPeriodId is required for specific views like mBoxscore and mRoster-at-week. This adds meaningful meaning beyond the schema fields.

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 opens with 'Raw league read with ANY combination of views' and immediately frames it as 'the escape hatch when no dedicated tool below fits, or to fetch several views in one round trip.' This clearly distinguishes it from the many dedicated sibling tools (espnfantasy_teams, espnfantasy_rosters, etc.) and states its specific resource and capability.

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

Usage Guidelines5/5

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

It explicitly says when to use it: 'when no dedicated tool below fits, or to fetch several views in one round trip.' It also provides an example and notes that scoringPeriodId is required by certain views, and explains the auth context ('works without a key; ESPN_FANTASY_COOKIE unlocks more'). This is complete guidance.

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

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