Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

yahoo_game_roster_positions

Read-onlyIdempotent

Retrieve roster positions for a specified game key to identify starting slots versus bench/IR, providing the data needed to build valid fantasy lineups.

Instructions

The roster positions a game defines (QB, RB, FLEX, BN, IR…) — needed to build a valid lineup write.

Returns: {fantasy_content:{game:[{game_key}, {roster_positions:[{roster_position:{position:'QB', position_type:'O', is_starting_position}}]}]}} — SHAPE FROM VENDOR DOCS. is_starting_position distinguishes a starting slot from BN/IR, which is exactly what a lineup optimiser needs.

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: NFL roster positions {"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
gameKeyYesGame key. 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 and idempotentHint=true, which are partly redundant with the description's read-only framing. The description adds valuable context: the response shape is from vendor docs and NOT verified against live responses—an important caveat. It also explains how to interpret the shape, which supplements the annotations. No contradiction.

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 well-structured. It starts with the core purpose, then gives the response shape, then a caveat, then an example. All sentences add value. The example could be clearer (it shows a request-like object without clarifying it's an example), but overall it's efficient.

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 (2 params, no nested objects), and the description covers purpose, usage, auth, response shape, and unverified status. The output schema is absent, but the description provides the return shape explicitly, compensating. The caveat about unverified shape is particularly valuable for an agent. Missing: no info on error cases, but that's beyond expectation.

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 coverage is 100% (format and gameKey both have descriptions), so the baseline is 3. The description adds semantics for gameKey via the NFL example and explains how the response is used, which goes beyond the schema. It doesn't add much on format, but that is trivial. The response shape explanation adds value.

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 what the tool does: 'The roster positions a game defines (QB, RB, FLEX, BN, IR…)'. It specifies the resource (roster positions) and the purpose (needed to build a valid lineup write). It also distinguishes this from sibling tools like yahoo_game or yahoo_team_roster by focusing on the game-level roster positions, not team rosters or game metadata.

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 implies usage when building a valid lineup write, and provides an example call for NFL. It doesn't explicitly state when not to use it or alternatives, but the context is fairly clear: this tool is for retrieving game-level position definitions. The auth note clarifies prerequisites. Could be improved with explicit exclusions.

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