Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

espnfantasy_league_defaults

Read-onlyIdempotent

Fetch ESPN fantasy league default scoring and roster presets by game, season, and scoring type ID. Use it to see the baseline template for a new league.

Instructions

ESPN's stock league templates (scoring/roster presets) by scoring-type id — the defaults a new league starts from.

Returns: {gameId, id, seasonId, scoringPeriodId, settings:{name:'FFL PPR Scoring', ...}, status:{...}}

Example: The PPR football preset {"game": "ffl", "seasonId": 2025, "scoringTypeId": 3}

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

Also answers this: sleeper_league.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameNoFantasy game code. One of: ffl, flb, fba, fhl, wfba.ffl
seasonIdYesSeason year, e.g. 2025. Required — part of the URL path.
scoringTypeIdNoPreset id. Verified for ffl: 1=Standard, 3=PPR, 5=All-Play PPR, 6=Knockout. Other ids return 200 with no settings.name.
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=true, establishing a safe read operation. The description adds valuable behavioral context beyond this: auth requirements ('works without a key; ESPN_FANTASY_COOKIE unlocks more if set') and a partial return structure. The schema's note about invalid IDs returning 200 with no settings.name also adds transparency, though this lives in the schema rather than the description itself.

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 mostly concise and front-loaded: the first sentence states the core purpose, followed by a terse return summary, a helpful example, and an auth note. However, the final line 'Also answers this: sleeper_league' is cryptic and does not earn its place—it introduces confusion without clarifying any tool relationship. Otherwise, the structure is efficient.

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?

With no output schema, the description partially compensates by showing the return shape ({gameId, id, seasonId, settings, status}) and providing a working example. It also covers auth. However, it doesn't fully explain all response fields or the full range of behavior across different games, and the odd 'sleeper_league' reference adds noise. Still, for a relatively simple 3-parameter lookup, it is reasonably complete.

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%, so the baseline is 3. The description adds meaningful extra semantics: a concrete example call ({'game':'ffl','seasonId':2025,'scoringTypeId':3}) and the schema provides verified scoringTypeId mappings (1=Standard, 3=PPR, etc.). This goes beyond just restating the schema, particularly by showing how the parameters combine and by noting the edge case of unrecognized IDs.

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 clearly states the tool returns ESPN's stock league templates (scoring/roster presets) by scoring-type id, with an explicit tie to 'the defaults a new league starts from.' This specific verb+resource combination distinguishes it from siblings like espnfantasy_league_settings, which retrieves settings for an existing league rather than default templates. The example call further reinforces the purpose.

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?

The description implies usage context (when you need default templates by scoring type) and provides a concrete example, but it offers no explicit when-to-use vs alternatives or exclusions. The line 'Also answers this: sleeper_league' is ambiguous—it may suggest cross-tool applicability but doesn't clarify when to choose this over other ESPN fantasy tools. This leaves the guidance somewhat implicit.

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