{"name":"DynastyHub API","version":"1.1.0","mcp":"https://api.dynastydraftassistant.com/mcp","openapi":"https://api.dynastydraftassistant.com/v1/openapi.json","auth":"Bearer token required","oauth":"https://api.dynastydraftassistant.com/.well-known/oauth-authorization-server","tools":[{"name":"get_user_leagues","title":"Find a user’s Sleeper leagues","description":"Start here for anything about \"my team\" or \"my leagues\". Resolves a Sleeper username to every NFL league the user is in for a season, with each league’s type (dynasty/keeper/redraft), format and the user’s own rosterId. Pass leagueId + rosterId to analyze_roster, analyze_league or find_trade_targets."},{"name":"analyze_league","title":"Analyze a Sleeper league","description":"League-wide view: every team with manager and team names, record, power rank, contender/rebuild timeline, total and starter value, positional ranks, holes and surpluses, plus the website’s league insights. Use it to compare teams or to find a rosterId by team or manager name."},{"name":"analyze_roster","title":"Audit one roster","description":"Full audit of one team in a Sleeper league: every rostered player with value, rank, starter flag and a buy/sell/hold market signal; owned draft picks priced by original owner; positional strength vs the league; holes and surpluses; the front-office memo (one sell, buy and fix move); and the best trade partners. Values follow the league’s own format."},{"name":"find_trade_targets","title":"Find trade partners","description":"Rank the other teams in a league by trade fit with one roster: where their surplus covers this roster’s holes and vice versa, with the concrete spare players on each side. Opposite timelines (contender vs rebuilder) score higher."},{"name":"search_players","title":"Search players","description":"Find Sleeper player IDs by name. Returns ranked candidates and never silently picks one when names collide. Only players with a market value are searchable."},{"name":"get_player","title":"Get a player’s dynasty value","description":"A player’s blended DynastyHub value, overall/position rank, tier, 30-day trend and a verdict-first market signal (sell window, buy the dip, riser, markets disagree, depth, core hold). Format changes values: pass format, or pass leagueId to use that league’s format and see which roster owns him."},{"name":"get_rankings","title":"Dynasty rankings board","description":"The blended dynasty value board for a format, optionally filtered by position, paged up to 100 players at a time."},{"name":"evaluate_trade","title":"Evaluate a trade","description":"Run the website’s trade engine. Each side lists the assets it RECEIVES, by Sleeper player ID or pick; never supply values. Returns raw and depth-adjusted totals, fairness, verdict, notes and balancing suggestions. With leagueId + rosterAId + rosterBId it also verifies ownership, prices picks by original owner (use the pick season/round/originalRosterId from analyze_roster) and projects starting-lineup and positional impact for both teams."},{"name":"get_playoff_odds","title":"League playoff and title odds (Pro)","description":"Playoff, first-round-bye and title odds for every team in a Sleeper league, from 5,000 simulated finishes over the real remaining schedule. Each team gets projected wins, a likely win range, average seed and its chance to win each remaining game. Weekly expectation blends the best lineup’s projection under the league’s own scoring with points actually scored. In season only; returns status \"season_over\" otherwise. Requires DynastyHub Pro."},{"name":"find_trade_offers","title":"Find trade offers","description":"The website’s deal finder: concrete two-sided offers for one roster. Each is close on market value and leaves both teams better off on their own terms: a team playing for this season gets a better lineup now, a building team gets picks and youth for older players. Offers can buy or sell, and a team with nothing that fits gets an empty list, which is an answer. Returns what to give and get, the kind of deal, the reasons for both sides, any roster cuts it forces, and a paste-ready Sleeper DM. Narrow with partnerRosterId or targetPositions (\"find me a WR\"). Free keys return up to 3 offers per call; Pro returns up to 8."},{"name":"get_league_trades","title":"Grade a league’s trades","description":"Every completed trade in a Sleeper league graded per side (A+ to F) at today’s values, newest first, plus a ledger of who has gained or lost the most value trading. Useful for judging a manager before negotiating. Grades are hindsight: they say who holds more value now."},{"name":"draft_assist","title":"Draft assistant","description":"Live help for a Sleeper draft (rookie or startup). Pass draftId, or leagueId to use its live or latest draft, plus a username or slot for whose pick it is. Returns what is on the clock, your upcoming pick numbers, ranked recommendations with the chance each player lasts to your next turn, positional cliffs, position runs, a trade-back window and graded recent picks."},{"name":"get_picks","title":"Draft pick values","description":"Values of future rookie picks by season, round and early/mid/late slot, on the same scale as player values. Use evaluate_trade to price picks inside a deal."},{"name":"get_rookies","title":"Rookie class board","description":"The current rookie class ranked by blended dynasty value, with ADP, optionally by position."},{"name":"get_portfolio","title":"Cross-league portfolio (Pro)","description":"A user’s exposure across all their dynasty and keeper leagues: players held in several leagues, share of value by position, age and NFL team, and the mix of contender and rebuilding teams. Each league is valued in its own format; redraft leagues are left out. Requires DynastyHub Pro."},{"name":"search_trade_comps","title":"Find comparable trades","description":"Real completed trades from other leagues involving the assets you name (players by Sleeper ID, picks by season/round/slot), priced at today’s values, with the median package the market has paid. Answers \"what do people actually pay for this player?\"."}]}