Skip to main content
Glama
dingyiyi0226

Yahoo Fantasy Baseball MCP Server

by dingyiyi0226

Get league overview

get_league
Read-only

Fetch a league's settings and current standings, displaying each team's key and name. Defaults to the configured league when no league key is given.

Instructions

Get a league's settings and current standings, with each team limited to team_key and name. Do not call this just to list teams; list_teams is sufficient for that. Defaults to the configured league when leagueKey is omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leagueKeyNoLeague key, e.g. 431.l.12345
Behavior4/5

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

Annotations already declare readOnlyHint=true, but the description adds value by specifying default behavior (omitted leagueKey uses configured league) and output constraints (teams limited to team_key and name). No contradictions with annotations.

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?

Three sentences, each with distinct purpose: action description, usage warning, and parameter default explanation. No filler words, all sentences earn their place.

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 adequately explains what the response contains (settings, standings, limited team info). However, it does not detail the structure of settings or standings, which might require some inference for complex cases.

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

Parameters5/5

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

Schema coverage is 100% with a description of leagueKey including an example. The description adds critical semantic information: the parameter is optional and defaults to the configured league, a behavior not captured in the schema alone.

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?

Clearly states it gets a league's settings and current standings, with a specific verb and resource. Distinguishes from sibling tool list_teams by noting that teams are limited to team_key and name, and explicitly warns against using this tool just to list teams.

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 on when not to use this tool ('Do not call this just to list teams; list_teams is sufficient for that') and explains default behavior when leagueKey is omitted. This helps the agent decide between this and sibling tools.

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