Skip to main content
Glama
ESPN Fantasy Football MCP Server

ESPN Fantasy Football MCP Server

by KBThree13

get_matchup_info

Retrieve ESPN fantasy football matchup details for a specific league and week, including current or historical seasons. Use it to review weekly head-to-head results and plan lineup decisions.

Instructions

Get matchup information for a specific week.

    Args:
        league_id: The ESPN fantasy football league ID
        week: The week number (if None, uses current week)
        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_matchup_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekNo
yearNo
league_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses one useful behavior—omitting week falls back to the current week—and 'Get' implies a read-only operation. It says nothing about what 'matchup information' contains (scores, opponents, projections) or how historical year interacts with week.

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?

One summary sentence followed by a compact Args list, with the most important statement front-loaded. Nothing is padded or redundant; an agent can parse it at a glance.

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?

With no output schema and no annotations, the description should convey what the response returns, since 'matchup information' is ambiguous for a fantasy football API. Parameters are well covered, but the return side is left entirely to inference.

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 Args block is the only parameter documentation, and it does real work: league_id is identified as an ESPN league ID, week's None behavior is explained, and year is characterized as historical-data opt-in. It could go further by clarifying interactions (e.g. week semantics in historical years) and it technically disagrees with the schema default of 2026 for year, which it calls '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 and resource ("Get matchup information") plus scope ("for a specific week"), so the agent knows exactly what it retrieves. It does not distinguish itself from siblings such as get_league_standings or get_team_roster, though the 'matchup' framing is fairly self-differentiating.

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

Usage Guidelines3/5

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

Usage is only implied: an agent should call this when it needs weekly matchup data. There is no statement of when-not-to-use it, no prerequisites (e.g. authentication, league membership), and no pointer to an alternative tool for related data.

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