Skip to main content
Glama
dingyiyi0226

Yahoo Fantasy Baseball MCP Server

by dingyiyi0226

Analyze advanced stats for entire roster

analyze_roster_stats
Read-only

Retrieve advanced baseball stats (Statcast, expected stats, FanGraphs) for up to 10 rostered players per call, with analysis aligned to your league's specific scoring categories for actionable roster advice.

Instructions

Fetch advanced stats (Statcast, expected stats, FanGraphs) for a batch of rostered players. Accepts at most 10 players per call via playerKeys — callers should first use get_roster to retrieve all player keys, split them into batches of up to 10, and call this tool once per batch (calls can run in parallel). The response includes the league's scoring categories so advice targets stats that actually matter in this league (e.g. SB if stolen bases count, HLD if holds count). Combine with get_roster to see who is starting or benched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoRoster date as YYYY-MM-DD. Defaults to today.
seasonNoSeason year for stat lookup. Defaults to current season.
teamKeyNoTeam key, e.g. 431.l.12345.t.2. Defaults to configured team.
playerKeysNoSubset of roster to fetch, by Yahoo player key or full player name. Max 10.
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description doesn't need to cover that. It adds value by disclosing the batch limit of 10 players and the inclusion of league scoring categories in the response. No contradictions.

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 concise with three sentences, each serving a purpose: stating what it does, how to use it with batching, and what the response includes. No fluff, front-loaded with purpose.

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?

Given no output schema, the description explains the response includes scoring categories and advises batching. It covers the essential aspects, though it could mention what advanced stats look like per player. Still, it is sufficiently complete for a fetch tool.

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 all parameters described. The description reinforces that playerKeys can be key or name and mentions defaults, but does not add substantial new meaning beyond the schema. 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 'Fetch advanced stats (Statcast, expected stats, FanGraphs) for a batch of rostered players,' specifying the verb, resource, and type of stats. It distinguishes from siblings like get_roster_stats or analyze_player_stats by focusing on batch analysis and including league scoring categories.

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?

The description provides explicit instructions: use get_roster to get player keys, split into batches of up to 10, call this tool once per batch, and that calls can run in parallel. It also mentions combining with get_roster to check starting/benched players, giving clear context for when and how to use it.

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