Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

nba_shot_chart

Retrieve every shot from an NBA player or team's season as structured rows with court coordinates, zones, distance, and made flag, so you can analyze shooting patterns and efficiency.

Instructions

NBA shot chart. Returns the shot chart for one player or team: one row per shot with the game, player, team, period, event and action type, the shot's zone (basic, area and range), distance, court coordinates (LOC_X/LOC_Y), the made flag and the game date. Scoping to one player or one team is required.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nba_shot_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
seasonNoSeason in YYYY-YY form; defaults to the current season
team_idNoTeam id from nba-standings; supply this or player_id
league_idNoLeague id; only 00 (NBA) is verified
player_idNoPlayer id from nba-players; supply this or team_id
season_typeNoSeason type
context_measureNoShot-chart base event; FGA keeps every attempt, FGM the same rows, FG3A and FG3M the three-point subset, PTS the scoring subset

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the read shape (one row per shot plus the exact field list) and the scoping requirement, but says nothing about result volume, ordering, pagination, or what happens if both or neither of player_id/team_id are passed.

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 purpose is front-loaded in the first sentence and the returned-column enumeration is dense but informative, especially since there is no output schema. The long middle clause is heavy but every element identifies real output content.

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 and no annotations, the description correctly compensates by listing the returned fields and stating the scoping constraint that the empty required list omits. Remaining gaps are behavioral (row limits, error/precedence when both ids are supplied) rather than missing purpose.

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 description coverage is 100%, so the schema already explains season defaults, id sources, the league/season-type enums, and what context_measure values mean. The description adds only the or-scoping rule, which the schema already hints at in the team_id/player_id descriptions.

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?

States a specific verb and resource ('Returns the shot chart for one player or team') and enumerates the grain and columns, so an agent knows exactly what comes back. It implicitly excludes lineup/team-lineup variants via 'one player or team', but never names the sibling tools (nba_lineup_shot_chart, nba_player_pt_shot) it replaces.

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?

'Scoping to one player or one team is required' tells the agent a mandatory selection rule, which is useful given the schema declares no required parameters. However, there is no explicit when-to-use vs. when-not guidance and no mention of the alternative shot-chart siblings, leaving the choice to inference.

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

Deploy Server

Other Tools