Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

balldontlie_nba_season_averages

Read-onlyIdempotent

Retrieve NBA season averages for specific players by season and player IDs. Get key stats like points, rebounds, assists, and shooting percentages for data analysis.

Instructions

Season averages for specific NBA players.

Returns: {data:[{player_id, season, games_played, min, pts, reb, ast, stl, blk, turnover, fg_pct, fg3_pct, ft_pct}]} — 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: A player's season {"season": 2023, "player_ids": ["115"]}

Auth: needs your own key in BALLDONTLIE_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seasonYesSeason start year.
player_idsYesPlayer ids — this endpoint will not return a whole league.
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint. The description adds critical behavioral caveats: the response shape is from vendor docs and unverified, the payload should be inspected before trusting field names, and authentication requires a personal BALLDONTLIE_API_KEY. 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 multi-paragraph but every section earns its place: purpose, return shape, critical unverified-shape note, example, and auth requirement. It is front-loaded with the primary function and avoids fluff.

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?

With no output schema, the description provides an approximate return shape, an example input, and auth info, making it adequately complete for a read-only stats endpoint. The explicit caveat that the shape is unverified appropriately manages expectations given the lack of live verification.

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?

Schema coverage is 100% with both parameters described. The description provides a concrete example ('season': 2023, 'player_ids': ['115']) and reiterates the specificity of player_ids, but does not add substantive semantic detail beyond the schema. Baseline 3 is appropriate.

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 states it returns season averages for specific NBA players, which differentiates it from sibling tools like balldontlie_nba_teams or balldontlie_nba_games. The lack of an explicit verb (e.g., 'Get') is minor since the noun phrase strongly implies a retrieval operation.

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 usage for targeted player queries via 'specific NBA players,' and the schema reinforces this by stating the endpoint 'will not return a whole league.' However, no explicit alternatives or when-not-to-use guidance is provided, leaving the agent to infer context from the tool name and sibling list.

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