Skip to main content
Glama

DunkAPI

Player games

get_player_games
Read-onlyIdempotent

Use for a player's game log: every game's box-score line with opponent and result, newest first, optionally one season. Costs 5 credits.

Input Schema

NameRequiredDescriptionDefault
limitNoMax games (default 100).
leagueNoLeague. Defaults to nba. One of: nba, wnba, ncaam, ncaaw.
offsetNo
seasonNoSeason by the year it ends: 2025 = 2024-25 (default: the latest).
player_idYesPlayer id.
season_typeNo

Output Schema

NameRequiredDescriptionDefault
noteNo
countYes
gamesYes
player_idYes
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / note
      Added value: +{
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / player_id / description
      Previous value: -"ESPN athlete id."New value: +"Player id."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral facts: results are ordered 'newest first', scope is optionally one season, and the call 'Costs 5 credits' — a cost signal not present in any structured field. Pagination behavior (limit/offset) is not described, but that is partially covered by schema defaults.

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

Conciseness5/5

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

A single tight sentence with the use case front-loaded, then returned content, ordering, scope and cost. Nothing is redundant or buried.

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 an output schema present and rich annotations, the description only needs to supply scope, ordering and cost — all of which it does. The remaining gap is that pagination (limit/offset) and season_type filtering are never mentioned, which matters for a tool that can return up to 200 rows.

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 67%, with offset and season_type carrying no schema descriptions at all. The description's only parameter-relevant statement ('optionally one season') restates what the season field already documents, so it does not compensate for the undocumented parameters. Baseline 3 is appropriate for this coverage level.

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 gives a specific verb+resource ('a player's game log') and details the returned content ('every game's box-score line with opponent and result'), which implicitly separates it from get_game (single game) and get_plays. It stops short of naming any sibling outright, so the differentiation is inferable rather than explicit.

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 leading 'Use for a player's game log' establishes a clear context for invocation, and 'optionally one season' clarifies the common filtering scenario. There are no exclusions or pointers to alternatives such as get_game or get_player, leaving the agent to infer when this is the wrong pick.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.