Skip to main content
Glama
i-am-david-weinstein

ESPN Fantasy MCP Server

modify_lineup

Move players between lineup slots with a preview before executing changes. Swap single or multiple players in one transaction.

Instructions

Modify team lineup by moving players between lineup slots. Uses a confirmation pattern: first call (confirm=false) previews the changes, second call (confirm=true) executes them. Can move a single player or swap multiple players in one transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
movesNoList of lineup moves to make, each with player_id, from_slot, and to_slot
confirmNoIf false (default), returns a preview of changes. If true, executes the lineup changes.
team_idNoTeam ID (1-based index)
league_idNoESPN League ID (defaults to configured league)
season_yearNoSeason year (defaults to current year)
scoring_period_idNoScoring period (week) for changes (defaults to current period)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description discloses the two-step confirmation process (preview then execute) and transaction capability, but does not mention potential side effects, restrictions (e.g., roster lock times, player eligibility), or reversibility, which would enhance transparency.

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 three sentences, front-loaded with the verb 'Modify', and each sentence delivers a distinct piece of information: purpose, confirmation pattern, and capability. No unnecessary words.

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 tool with 6 optional parameters and a two-phase action, the description explains core behavior but lacks details on the preview output, possible errors, and explicit usage constraints (e.g., when roster is locked). Given the output schema exists, full return documentation is not required, but more context on prerequisites would improve completeness.

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 100%, so baseline is 3. The description adds context that single or multiple moves can be handled in one transaction, reinforcing the moves parameter behavior and explaining the confirm parameter's role, providing value beyond 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 modifies team lineup by moving players between slots and distinguishes from sibling tools like add_free_agent or drop_player which handle roster moves, not lineup configuration.

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 explains the confirmation pattern and ability to move single or multiple players, but does not explicitly state when not to use this tool compared to alternatives like add_free_agent or drop_player, though the context of lineup changes is implicit.

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/i-am-david-weinstein/espn-fantasy-mcp'

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