Skip to main content
Glama
ESPN Fantasy Football MCP Server

ESPN Fantasy Football MCP Server

by KBThree13

get_league_info

Retrieve basic ESPN fantasy football league details using a league ID, plus an optional year to view historical season data.

Instructions

Get basic information about a fantasy football league.

    Args:
        league_id: The ESPN fantasy football league ID
        year: Optional year for historical data (defaults to current season)
    

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "league_id": "<league_id>"
    },
    "name": "get_league_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo
league_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It implies a read operation via 'Get' but never states authentication requirements (notable given an 'authenticate' sibling), whether private leagues require credentials, error behavior for invalid league IDs, or what the 'basic information' actually includes.

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?

Short and front-loaded, with the core purpose in the first sentence and parameters immediately after. The Google-style 'Args:' block is slightly verbose for a two-parameter tool but nothing is wasted.

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?

For a simple two-parameter read tool with no output schema and no annotations, the description covers purpose and both parameters adequately. It falls short on what 'basic information' returns and on authentication or access constraints, which an agent would need to call it confidently.

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 description coverage is 0%, so the description must compensate, and it does: it identifies league_id as an ESPN league ID (platform context the schema lacks) and explains year as optional historical data defaulting to the current season. Only minor ambiguity remains around the schema's default of 2026 versus 'current season'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Get basic information about a fantasy football league') and scopes it to a single league. It does not explicitly distinguish itself from siblings like get_league_standings, but 'basic information' is concrete enough for an agent to understand the operation.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no reference to alternatives such as get_league_standings or get_team_info. The distinction is only weakly implied by the word 'basic'.

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