Skip to main content
Glama

Crawlora MCP

mlb_statcast_batted_ball

Read-only

Fetch Baseball Savant Batted Ball Profile rows for batters, batting teams, pitchers, pitching teams, or league totals. Filter by season, game type, split, team, date, batter/pitcher hand, pitch type, BBE thresholds, and local sort/page; use mlb_discovery for exact values. The hidden All-Star game type A is accepted by the upstream query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
minNoOptional minimum batted-ball events: q, 1, 5, 10, 25, 50, 100, 200, 500, or 1000. Defaults to q.
sortNoOptional local sort field from mlb_discovery.
typeNoOptional row type: batter, batting-team, pitcher, pitching-team, or league. Defaults to batter.
limitNoOptional number of rows, 1-500; defaults to 100.
teamsNoOptional MLB team ids from mlb_discovery; select one or more.
offsetNoOptional zero-based result offset, 0-10000.
splitsNoOptional split dimensions from mlb_discovery.
seasonsNoOptional seasons from 2015 through the current season; defaults to the current season.
bat_sideNoOptional batter side: L or R.
date_endNoOptional date range end in YYYY-MM-DD format.
sort_dirNoOptional sort direction: asc or desc.
min_splitNoOptional minimum rows per split group: 1, 5, 10, 25, 50, 100, 200, 500, or 1000. Defaults to 1.
date_startNoOptional date range start in YYYY-MM-DD format.
game_typesNoOptional game types: R, A, F, D, L, or W. Defaults to R.
pitch_handNoOptional pitcher hand: L or R.
split_yearNoOptional split seasons into separate rows flag: 1 or 0. Defaults to 1.
pitch_typesNoOptional pitch type codes from mlb_discovery; select one or more.
include_league_averageNoInclude the first-party league-average reference row.

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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuine non-obvious behavior: the upstream query's hidden All-Star game type A acceptance, which the schema lists but does not flag as unusual. No auth, rate-limit, or pagination-disclosure details beyond that.

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 tight sentences: what it fetches, how to filter, and one caveat. The row-type enumeration is front-loaded and nothing is padded.

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 18 fully-described params and an output schema, the description need not explain returns, and it correctly covers scope, filtering, and the discovery lookup path. It is complete enough to call correctly, though it gives no sense of data volume or the distinction from other statcast siblings.

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% with defaults for min, type, seasons, game_types, and split_year already documented. The description's filter keyword summary (season, game type, split, team, date, hand, pitch type, BBE thresholds, sort/page) mostly restates the schema; the only added value is the mlb_discovery lookup pointer.

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

Purpose5/5

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

States a specific verb (Fetch), a specific resource (Baseball Savant Batted Ball Profile rows), and enumerates the five row types it returns (batter, batting-team, pitcher, pitching-team, league). An agent can distinguish this from other mlb_statcast_* tools by the resource name alone.

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

Usage Guidelines4/5

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

Explicitly routes the agent to mlb_discovery for exact parameter values, which is a concrete when-to-use-which-tool instruction. It stops short of naming when to prefer this over sibling statcast tools (e.g. pitch arsenal, expected stats), so it is clear context without full alternatives coverage.

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