Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

yahoo_game

Read-onlyIdempotent

Retrieve Yahoo Sports game metadata for a season, including season year, game status, and the game_key required for other API calls. Specify a league like 'nfl' or numeric ID to get structured data for fantasy sports workflows.

Instructions

Game metadata for a sport-season: season year, whether it is over, and the game_key other calls need.

Returns: {fantasy_content:{game:[{game_key, game_id, name, code, type:'full', url, season, is_registration_over, is_game_over, is_offseason}]}} — SHAPE FROM VENDOR DOCS.

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: Current NFL season {"gameKey": "nfl"}

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
gameKeyYes'nfl', 'nba', 'mlb', 'nhl' for the current season, or a numeric id like '449'. Required — part of the URL path.
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=true, which cover the safety profile. The description adds valuable context: it explicitly warns that the return shape is from vendor docs and has NOT been verified against a live response, and instructs to inspect actual payloads. It also discloses authentication requirements (YAHOO_CLIENT_ID etc.), which is beyond what annotations provide. This is strong behavioral transparency given the annotation coverage.

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 concise and front-loaded: the first line defines the purpose, followed by the return shape, then example, then auth note. The shape note and auth note are useful and earn their place. Slight verbosity in the dream shape note, but overall tight and well-structured.

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 relatively simple (metadata lookup) and has a clear input schema, annotations, and no output schema. The description explains the return shape (as a note pending verification), provides an example, and discloses auth requirements. Given the tool's simplicity and existing structured fields, the description is comprehensive enough. The only gap is not explaining pagination or multiple game responses, but that's minor for a metadata-only call.

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?

Schema description coverage is 100% (both format and gameKey are described in the schema). The description adds meaning to gameKey by listing acceptable values ('nfl', 'nba', 'mlb', 'nhl', or numeric id like '449') and noting it's part of the URL path. The description also shows a JSON example with 'gameKey'. Since the schema already covers parameters well, the description's additional usage details push it slightly above baseline.

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's purpose: 'Game metadata for a sport-season' and lists the specific fields returned (season year, whether it is over, and the game_key). It explicitly mentions 'the game_key other calls need', which distinguishes it from sibling tools like yahoo_my_games or yahoo_league that serve different purposes. The description also includes an example and return shape, making it highly clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides an example usage ('Current NFL season' with 'gameKey': 'nfl') and notes that the game_key is needed by other calls, implying this is a prerequisite step. However, it doesn't explicitly state when NOT to use this tool or suggest alternatives (siblings like yahoo_my_games might be used for user-specific data). Still, the context is reasonably clear for the primary use case.

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