Skip to main content
Glama
travispotterAZ

sleeper-draft-mcp

Get leagues for a user

get_league

Resolves a Sleeper username to a user ID and lists their NFL leagues for a season, exposing league IDs that can be used with the other draft tools.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seasonNoSeason year, e.g. 2026. Defaults to the current NFL season.
usernameYesSleeper username (not display name)
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses a two-step behavior (username resolution before listing), the default season behavior, and that the output contains league_id for reuse. It does not mention error cases, but the disclosed behavior is sufficient for a read-only lookup.

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?

Two sentences with no redundancy: the first states the operation and default, the second explains how to use the result. The key workflow constraint (league_id reuse) is front-loaded.

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 two-parameter resolver with no output schema, the description provides the essential context: what the tool returns (a list of leagues with league_id) and how the result fits into the wider toolset. It omits error behavior, but that is a minor gap for this straightforward lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents username and season. The description restates the default season and refers to username resolution but adds no new parameter-level detail beyond the schema. Baseline 3 is appropriate.

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 states a specific action: resolve a Sleeper username to a user_id and list that user's NFL leagues for a season. It also clarifies the tool's role in the workflow by telling the agent to use the returned league_id with other tools, distinguishing it from the sibling tools that handle players, drafts, and rosters.

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

Usage Guidelines4/5

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

The description implies the tool is the entry point for user-league lookups: it resolves the username, lists leagues, and returns league_id for downstream tools. It does not explicitly name alternative tools or when not to use it, but the context is clear because the siblings serve different purposes.

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/travispotterAZ/sleeper-draft-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server