Skip to main content
Glama
dylancharris

ESPN Fantasy Basketball MCP Server

by dylancharris

analyze_my_draft_strategy

Analyze your fantasy basketball draft strategy and spending to identify punt strategies and get tailored recommendations for improvement.

Instructions

Analyze your current draft strategy and spending patterns.

Args:
    team_id: Your team ID (optional, uses ESPN_TEAM_ID env var)
    league_id: ESPN Fantasy Basketball league ID (optional, uses ESPN_LEAGUE_ID env var)
    year: Season year (e.g., 2025) (optional, uses ESPN_YEAR env var or defaults to 2025)
    espn_s2: ESPN authentication cookie for private leagues (optional, uses ESPN_S2 env var)
    swid: ESPN SWID cookie for private leagues (optional, uses ESPN_SWID env var)

Returns:
    Dictionary with punt strategy analysis, spending summary, and recommendations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
swidNo
yearNo
espn_s2No
team_idNo
league_idNo
Behavior2/5

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

With no annotations, the description carries full burden, but it only mentions inputs and return type. It does not disclose whether this makes external API calls, any side effects, rate limits, or that it requires authentication for private leagues beyond the parameter names. The 'Analyze' verb implies read-only, but this is not explicit.

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 organized with a clear one-line summary followed by a structured Args section. It is slightly verbose due to repeating defaults, but the structure makes it easy to scan. Every sentence earns its place, though the parameter details could be trimmed.

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

Completeness3/5

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

Without an output schema, the description mentions the return contains 'punt strategy analysis, spending summary, and recommendations', but does not specify exact fields. It also lacks context on prerequisites (e.g., whether a draft must be in progress) or assumptions about league type (auction vs snake). This is adequate but has gaps.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does excellently. Each parameter is explained with its optionality, environment variable fallback, and purpose (e.g., emspn_s2 and swid for private league auth). This adds significant meaning beyond the bare schema.

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 'Analyze your current draft strategy and spending patterns', which is a specific verb+resource. It distinguishes from siblings like get_draft_status (which fetches status) and should_i_bid (which gives bidding advice) by focusing on overall strategy and spending analysis.

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

Usage Guidelines2/5

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

The description does not provide any guidance on when to use this tool versus the sibling analysis tools. It lacks explicit exclusions or alternative recommendations, so an agent would not know if this is the right tool for a given task.

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/dylancharris/espn-fantasy-basketball-mcp'

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