Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

yahoo_league_teams

Read-onlyIdempotent

Retrieve all teams in a Yahoo fantasy league with manager info, team keys, waiver priority, and FAAB balance to map team_key to managers and inform waiver strategies.

Instructions

Every team in the league with its manager — how you map team_key to a person.

Returns: {fantasy_content:{league:[{league_key}, {teams:{'0':{team:[[{team_key}, {team_id}, {name}, {url}, {team_logos}, {waiver_priority}, {faab_balance}, {number_of_moves}, {number_of_trades}, {managers:[{manager:{nickname, guid, is_commissioner}}]}]]}, count}}]}} — SHAPE FROM VENDOR DOCS. faab_balance and waiver_priority are what a waiver strategy is built on.

NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.

Example: Teams in a league {"leagueKey": "449.l.12345"}

Auth: needs your own key in YAHOO_CLIENT_ID or YAHOO_CLIENT_SECRET or YAHOO_REFRESH_TOKEN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoLeave as json.json
leagueKeyYesLeague key. Required — part of the URL path.
Behavior4/5

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

The annotations already mark the tool as read-only and idempotent. The description adds important context by warning that the return shape is from vendor documentation and has not been verified against a live response, and it explains the authentication requirement via YAHOO_CLIENT_ID, YAHOO_CLIENT_SECRET, or YAHOO_REFRESH_TOKEN.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured with purpose, return shape, caveat, example, and auth. It is somewhat dense due to the inline nested JSON shape, and the 'SHAPE FROM VENDOR DOCS' note is repeated in the following paragraph, but every section earns its place.

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

Completeness5/5

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

With no output schema, the description provides a detailed approximate return payload, highlights operationally important fields, warns about reliability, gives an example invocation, and states the auth requirement. This is sufficient for an AI agent to invoke the tool reasonably and set expectations.

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?

The input schema already fully documents both parameters, so the baseline is 3. The description adds a concrete example leagueKey value ('449.l.12345'), reinforcing the league-key format beyond the schema's 'part of the URL path' explanation.

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 opens with 'Every team in the league with its manager' and clarifies the core use case: 'how you map team_key to a person.' It names the resource and the returned scope, distinguishing it from sibling tools like yahoo_team or yahoo_league_standings.

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?

The description implies when to use the tool — when you need a league-wide team-to-manager mapping — and gives an example input. However, it does not explicitly describe when not to use it or mention alternative tools such as yahoo_team, yahoo_my_teams, or yahoo_league_standings.

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/DanielTomaro13/sportsdata-mcp'

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