Skip to main content
Glama

Crawlora MCP

mlb_player_stats

Read-only

MLB player season statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRequired. Numeric MLB player id.
groupYesRequired. One of hitting, pitching, fielding, catching, running, game, team, streak.
seasonNoOptional. Four-digit season; defaults to the current year.
end_dateNoOptional. Date-range end for byDateRange stat types; must be paired with start_date.
game_typeNoOptional. MLB game type code.
stat_typeNoOptional. One of the stat types accepted by this endpoint; defaults to season.
start_dateNoOptional. Date-range start for byDateRange stat types; must be paired with end_date.
opponent_team_idNoOptional opposing team id; required by vsTeam stat types.
opponent_player_idNoOptional opposing player id; required by vsPlayer stat types.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.2/5.0
Behavior2/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing behavioral: it never mentions the date-range pairing requirement (start_date/end_date), stat_type-dependent behavior, or the vsTeam/vsPlayer conditional fields, all of which materially affect invocation.

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

Conciseness2/5

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

It is a single short sentence, but this is under-specification rather than conciseness. There is no structure to front-load because no actionable content exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be described, and annotations cover safety. However, for a 9-parameter tool with date-range and opponent-conditional logic, the description leaves everything to the schema, providing no usage or behavioral context an agent would benefit from.

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 documents all 9 parameters including defaults and pairing rules. The description's only gesture at parameters is the word 'season,' which is baseline-level and adds no syntax beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a near-tautology of the tool name: 'MLB player season statistics' restates mlb_player_stats without naming a verb, scope, or distinguishing feature. A large family of siblings (mlb_player, mlb_league_stats, mlb_prospect_stats, mlb_statcast_player_details) means the agent cannot tell from this text what unique retrieval this performs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use statement, no mention of alternatives such as mlb_player or mlb_statcast_player_details, and no note that this requires a player id plus a stat group. The agent is given nothing to route on.

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.

Resources