Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

yahoo_team_stats

Read-onlyIdempotent

Retrieve a team's aggregated stats for a season, week, or other period. Use the team key to get detailed statistics and points.

Instructions

A team's aggregated stats for a season or a week.

Returns: {fantasy_content:{team:[[{team_key}, …], {team_stats:{coverage_type, season, stats:[{stat:{stat_id, value}}]}}, {team_points:{total}}]}} — SHAPE FROM VENDOR DOCS. stat_id resolves via yahoo_game_stat_categories.

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: Season totals {"teamKey": "449.l.12345.t.3", "type": "season"}

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoAggregation window. One of: season, week, date, lastweek, lastmonth.season
formatNoLeave as json.json
teamKeyYesTeam 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 establish read-only, idempotent, and open-world behavior, and the description adds valuable context: the returned shape comes from vendor docs and is unverified, authentication with a Yahoo key is required, and stat_id resolves via yahoo_game_stat_categories. This goes beyond the annotations without contradicting them.

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 well-structured with a short purpose statement, return shape, caveat, example, and auth note. Each section serves a clear function, and the most important caveat about unverified vendor shape is prominently highlighted.

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?

Without an output schema, the embedded return-shape definition and stat_id cross-reference are essential and mostly sufficient. The auth requirement, example call, and caveat about payload reliability make this a fairly complete description for a small 3-parameter stats fetch.

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?

The input schema provides 100% parameter coverage, so a baseline of 3 is appropriate. The description's example ('{"teamKey": "449.l.12345.t.3", "type": "season"}') adds a realistic key format, but it does not explain the broader enum values such as 'date', 'lastweek', or 'lastmonth'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies that the tool provides a team's aggregated stats and includes a detailed return shape, which differentiates it from roster/matchup/player-stat tools. It lacks an explicit active verb like 'fetch' or 'list' and only mentions season/week even though the schema also supports date, lastweek, and lastmonth.

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 phrase 'team's aggregated stats for a season or a week' gives contextual reason to use it, but it does not explicitly say when to use it over alternatives or name any excluding cases. There is no direct comparison to sibling tools such as yahoo_team_roster, yahoo_team_matchups, or yahoo_player_stats.

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