Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

nba_team_shot_locations

Retrieve NBA team shot-location statistics by distance zone, returning one row per team with shooting columns for each zone. Compare team shooting performance across court areas.

Instructions

NBA team shot-location dashboard. Returns the team shot-location dashboard: one row per team with the shooting columns for each distance zone. The endpoint requires both MeasureType and DistanceRange; a request without MeasureType answers HTTP 400 naming that parameter. distance_range is pinned to the one verified value, 'By Zone'.

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_team_shot_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
seasonNoSeason in YYYY-YY form; defaults to the current NBA season
per_modeNoAggregation
league_idNoLeague id; only 00 (NBA) is verified
season_typeNoSeason type
measure_typeNoStatistic family
distance_rangeNoDistance bucket set

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.17.28
    • changedInput schema / properties / distance_range / description
      Previous value: -"Distance bucket set; only By Zone is verified"New value: +"Distance bucket set"
    • addedInput schema / properties / distance_range / enum
      Added value: +[
      +  "By Zone",
      +  "5ft Range",
      +  "8ft Range"
      +]
  2. Addedv1.17.20

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the return grain (one row per team), the column organization (per distance zone), a concrete failure mode (HTTP 400 naming MeasureType), and an effective constraint on distance_range. It omits auth, rate limits, and pagination, keeping it short of a 5.

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?

Purpose comes first, followed by return shape, then constraints, which is the right ordering for an agent. The second clause restates the first sentence almost verbatim ('team shot-location dashboard'), a small redundancy in an otherwise efficient paragraph.

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?

Six parameters, all fully described in the schema, and no output schema, so the description's explanation of the returned rows and columns is exactly the missing piece and is supplied. The note that required-parameter mismatches produce HTTP 400 covers the schema's 'required: []' ambiguity.

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%, so baseline is 3; the description adds meaning beyond the schema by reporting that the endpoint requires measure_type and that distance_range is only verified for 'By Zone' even though the schema enumerates three values. That is genuinely useful, though it does not explain what the other four parameters (season, per_mode, league_id, season_type) actually change in the response.

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 names a specific resource and result shape: a team shot-location dashboard returning 'one row per team with the shooting columns for each distance zone.' That granularity (team-level, zone-bucketed) separates it from player- or shot-level siblings without naming them explicitly.

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?

Usage is implied by the domain described, and the description adds a real prerequisite ('requires both MeasureType and DistanceRange', else HTTP 400). It never states when to prefer this over nba_shot_chart, nba_team_pt_shot, or nba_team_dash_pt_shots, leaving the agent to infer the choice from scope alone.

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