Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

nba_player_compare

Compare two sets of NBA players side by side over a season using player IDs, aggregation, and stat measure to retrieve individual and team statistics tables.

Instructions

NBA two-sided player comparison. Compares two sets of players over one season, measure and aggregation. Each side accepts one or more player ids, either repeated (?player_ids=1&player_ids=2) or comma-separated (?player_ids=1,2); the ids are validated locally and forwarded in the upstream's comma-separated form. The response is the comparison's result sets (an individual-stats table and a team-stats table), keyed by the upstream's own column names such as GROUP_SET, DESCRIPTION, FGM, FGA, FG_PCT, REB, AST, PTS and PLUS_MINUS.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "player_ids": "<player_ids>",
      "vs_player_ids": "<vs_player_ids>"
    },
    "name": "nba_player_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
seasonNoSeason in YYYY-YY form; defaults to the current season
per_modeNoAggregation
league_idNoLeague id; only 00 (NBA) is verified
player_idsYesPlayer ids for the left side; repeated or comma-separated
season_typeNoSeason type
measure_typeNoStatistic family; required upstream
vs_player_idsYesPlayer ids for the right side; repeated or comma-separated

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A3.9/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 well: it discloses that ids are validated locally, normalized into the upstream's comma-separated form, and that the response contains two result sets (individual and team stats) keyed by upstream column names. It omits error behavior, rate limits, and empty-result handling, 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.

Conciseness5/5

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

Three sentences, front-loaded with purpose, then input encoding, then return shape. The enumeration of column names is long but earns its place because no output schema exists to document the response otherwise.

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?

For a 7-parameter read-only comparison tool with no output schema, the description supplies the return structure and column semantics that would otherwise be missing. Gaps are minor: no note on what happens with invalid or unknown ids beyond 'validated locally,' and no pagination or size guidance.

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 the baseline would be 3, but the description adds real meaning: it explains the two accepted serializations of player_ids (?player_ids=1&player_ids=2 versus ?player_ids=1,2) and frames the left/right symmetry via vs_player_ids, which the schema alone does not convey.

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 opens with a specific verb and resource: 'NBA two-sided player comparison' and 'Compares two sets of players over one season, measure and aggregation.' That is enough to distinguish it from single-player stat siblings like nba_player_stats, though it never names an alternative 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 word 'comparison' and by the constraint of 'one season, measure and aggregation,' but there is no explicit when-to-use guidance, no statement of when a single-player stat tool would be preferable, and no prerequisites or limitations.

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