Skip to main content
Glama
travispotterAZ

sleeper-draft-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SLEEPER_CACHE_DIRNoOverride the directory where the player cache is stored. Defaults to 'cache'.cache

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_leagueA

Resolve a Sleeper username to a user_id and list that user's NFL leagues for a season (defaults to the current NFL season). Use the returned league_id with the other tools.

get_draft_infoA

Draft settings for a league (or an explicit draft_id): draft type (snake/linear/auction), status, team count, rounds, third-round-reversal flag, the slot -> roster -> owner mapping, and the league's required starting slots.

get_draft_picksA

Ordered list of picks already made in a draft. Poll this every 5-10s during a live draft. Player names/positions/teams are resolved from the cached player dictionary (falling back to pick metadata).

get_available_playersA

Players not yet drafted in this draft, from the cached dictionary minus the picks made. Sorted by Sleeper's search_rank (rough ADP; lower is better). Defaults to fantasy positions only and drops unranked players.

whose_turnA

Compute the pick currently on the clock from the number of picks made, using snake-draft math (honours linear drafts and third-round reversal). Pass my_roster_id to get an on_the_clock flag and picks-until-your-next-turn.

get_my_roster_needsA

Compare the players a roster has drafted so far against the league's required starting lineup and flag thin positions. Needs the league's roster_positions, so pass league_id (or a draft_id whose league is known).

get_trending_playersB

Sleeper's trending players (most added or dropped across all leagues in the lookback window). Rough signal only — NOT rankings or ADP.

refresh_player_cacheA

Re-download Sleeper's /players/nfl dictionary (~5MB) and rewrite the disk cache. Normally automatic (daily); use this if names look stale.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a clearly distinct task: market trends, cache refresh, on-the-clock computation, roster needs, league resolution, draft settings, draft picks list, and available players. While whose_turn and get_draft_picks both relate to draft state, their descriptions separate the calculation from the raw list, eliminating ambiguity.

Naming Consistency4/5

Six of eight tools follow the get_<noun> snake_case pattern, but refresh_player_cache uses a different verb and whose_turn is a sentence fragment rather than a verb_noun action. The inconsistency is minor and naming remains predictable overall.

Tool Count5/5

Eight tools form a focused and well-scoped set for live-draft assistance, covering data acquisition, draft configuration, pick tracking, turn calculation, and roster analysis without bloat. The cache refresh tool, though maintenance-oriented, is justified by the large player dictionary requirement.

Completeness5/5

The tool surface covers the full workflow for preparing and executing a draft: resolve a user's league, fetch draft settings, poll picks, determine whose turn it is, evaluate roster needs, and list undrafted players. No essential draft-related operation is missing, and the trending players tool adds useful pre-draft signal.

Maintenance

ActivityMaintained
ResponsivenessNo issues