Skip to main content
Glama

Flaim Fantasy

League Context

get_league_info
Read-onlyIdempotent

For a selected active league, call this immediately after get_user_session and before the requested standings, matchup, roster, free-agent, player, transaction, or draft tool. Skip it only when answering from session data alone or branching to get_ancient_history. This provides the baseline league context for analysis: league name, settings, scoring type, roster configuration, and team/owner context, plus schedule or season-window metadata when the platform provides it. Keeper and draft-format fields are additive and platform-dependent; never assume one provider's fields exist on another. Sleeper futureDraftRounds describes the configured round count for future drafts; use get_draft.draft.rounds for the selected draft's actual round count. When fanning out across multiple leagues, call this once per league. The exact team fields vary by platform but all include ownerName. Use values from get_user_session. Read-only. Current date is 2026-09-01.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sportYesSport type (e.g., "football", "baseball")
platformYesFantasy platform (e.g., "espn", "yahoo", "sleeper")
league_idYesLeague ID (get from get_user_session)
season_yearYesSeason start year — use the season_year returned by get_user_session for this league; only pass an older year when the user explicitly asks about a past season

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesPlatform envelope. Field availability varies by platform (ESPN, Yahoo, Sleeper); absent fields are not provided by that platform.
successYes

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description adds substantial behavioral caveats: platform-dependent fields, keeper/draft-format variation, Sleeper's futureDraftRounds meaning, a cross-tool distinction with get_draft.draft.rounds, and the guarantee that ownerName is always present. This is exactly the kind of context an agent needs.

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 longer than average, but every sentence carries load: sequencing, exclusions, platform variability, cross-tool disambiguation, and current-date context. It is front-loaded with the most important call-order instruction and remains structured and readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists and annotations already cover safety, the description is complete for practical invocation. It covers prerequisites, parameter sourcing, platform-dependent behavior, multi-league usage, and exclusions. Nothing essential for correct selection or use is missing.

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 coverage is already 100%, so the baseline is 3, but the description adds meaningful parameter guidance: league_id and season_year should come from get_user_session, older season_year only for explicit past-season requests, and platform-specific enum context. This goes beyond the schema without over-explaining obvious 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 states an explicit purpose: establishing baseline league context (league name, settings, scoring type, roster configuration, team/owner context) for downstream tools. It also distinguishes itself from siblings by specifying sequencing relative to get_user_session and get_ancient_history.

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?

Provides explicit when-to-use guidance: call immediately after get_user_session and before the listed fantasy tools, skip when session data alone suffices or when branching to get_ancient_history, and call once per league when fanning out. It also names alternatives and ties parameter values to get_user_session.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool targets a distinct fantasy-football data domain: session, league info, standings, matchups, roster, players, free agents, draft, transactions, historical seasons, and refresh. While get_free_agents and get_players both touch player ownership, their purposes are clearly separated (league availability vs. identity lookup), and get_ancient_history is explicitly the historical branch distinct from current-season tools.

Naming Consistency5/5

All tools follow a consistent snake_case get_<noun> convention, with refresh_leagues as the single logical action-oriented exception. The naming pattern makes the resource being accessed predictable across the entire set.

Tool Count5/5

Eleven tools is well-scoped for a fantasy sports data server: session management, league context, standings, matchups, rosters, player lookup, available players, draft data, transactions, and historical access. Each tool covers a meaningful, non-redundant slice of the domain.

Completeness5/5

The set covers the full read-only fantasy league landscape: user/league discovery, league settings, standings, matchups, rosters, player identities, free-agent availability, draft results, transactions, and historical seasons. No major query surface appears missing for the server's stated purpose.