Skip to main content
Glama
dingyiyi0226

Yahoo Fantasy Baseball MCP Server

by dingyiyi0226

Analyze advanced player stats

analyze_player_stats
Read-only

Fetch and combine advanced statistics from MLB Stats, Baseball Savant, and FanGraphs for a single player to evaluate fantasy baseball performance.

Instructions

Fetch and aggregate advanced statistics for a single player from MLB Stats, Baseball Savant, and FanGraphs. Use Yahoo's browser pages separately for league scoring, ownership, roster, and lineup context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seasonNoSeason year, e.g. 2026. Defaults to the current season.
playerNameYesPlayer's full name, e.g. 'Shohei Ohtani' or 'Freddie Freeman'
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds useful context about aggregating data from three external sources, but does not disclose potential latency, rate limits, or what specific statistics are included. This is acceptable but not rich behavioral detail.

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?

Two sentences, front-loaded with purpose and immediately followed by exclusion guidance. Every word contributes; no filler or redundant content.

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

Completeness4/5

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

The tool is a read-only data fetch with simple parameters and no output schema. The description adequately explains what it does and when to use it, though it omits details about return format or which 'advanced statistics' are included. This is a minor gap for a tool of this complexity.

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

Parameters3/5

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

Schema coverage is 100%, with both parameters (playerName, season) already described. The description reinforces that playerName is for a single player but adds no new semantic meaning beyond what the schema provides. Baseline 3 is appropriate.

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 'Fetch and aggregate advanced statistics for a single player' from named sources (MLB Stats, Baseball Savant, FanGraphs). It explicitly notes 'single player', which distinguishes it from the sibling tool 'analyze_players_stats' (plural).

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 guidance: 'Use Yahoo's browser pages separately for league scoring, ownership, roster, and lineup context.' This tells the agent when NOT to use this tool and directs to alternative methods for different contexts.

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/dingyiyi0226/fantasy-baseball-mcp'

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