Skip to main content
Glama

Crawlora MCP

mlb_statcast_swing_path

Read-only

Fetch Baseball Savant Swing Path and Attack Angle rows for batters, teams, or league totals. Filter by season range, game type, team, date, batter side, contact, hard-hit, attack zone, pitcher hand, swing thresholds, sort, and pagination; use mlb_discovery for exact values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoOptional local sort field from mlb_discovery.
typeNoOptional row type: batter, batting-team, or league; defaults to batter.
limitNoOptional number of rows, 1-500; defaults to 100.
offsetNoOptional zero-based row offset.
team_idNoOptional MLB team id from mlb_discovery.
bat_sideNoOptional batter side: L or R.
date_endNoOptional date range end in YYYY-MM-DD format.
sort_dirNoOptional sort direction: asc or desc.
game_typeNoOptional game type: Any, Exhibition, Playoff, or Regular.
date_startNoOptional date range start in YYYY-MM-DD format.
min_swingsNoOptional swing qualifier from mlb_discovery; defaults to q.
pitch_handNoOptional pitcher hand: L or R.
season_endNoOptional last season from 2023 through 2026; defaults to season_start.
attack_zoneNoOptional attack-zone code from mlb_discovery.
is_hard_hitNoOptional hard-hit filter: 1 or 0.
contact_typeNoOptional contact type: 2, 4, or 9.
season_startNoOptional first season from 2023 through 2026; defaults to 2026.
min_group_swingsNoOptional minimum swings per grouped row from mlb_discovery; defaults to 1.

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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safe-read profile is covered. The description adds that rows can be batter-, team-, or league-level and enumerates the filter surface, but discloses no rate limits, auth needs, or return-shape detail beyond what annotations and the output schema provide.

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?

Two sentences, front-loaded with the fetch purpose followed by the filter surface. No filler text, though the long comma-separated filter list is a bit dense and mostly restates the schema.

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 an 18-parameter tool, the description names the row granularities, summarizes the filter axes, and points to mlb_discovery for valid values, which is enough given full schema coverage and an output schema that handles return-value detail. It stops short of clarifying how the swing/threshold qualifiers interact, a minor gap.

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 every parameter is already documented in the schema; baseline for this is 3. The description groups the filters conceptually (season range, contact, hard-hit, attack zone, etc.) but adds no syntax, defaults, or enum meaning beyond what the schema states.

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 ('Fetch Baseball Savant Swing Path and Attack Angle rows') with a clear scope (batters, teams, or league totals). The distinctive metric name distinguishes it from generic baseball stat tools, but it does not explicitly differentiate from close siblings like mlb_statcast_swing_timing or mlb_statcast_bat_tracking, so no sibling-differentiation credit.

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 listing the filter dimensions, and it helpfully directs the agent to mlb_discovery for exact filter values. However, there is no explicit when-to-use guidance and no exclusion or alternative named relative to the closely related Statcast swing/tracking tools.

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