Skip to main content
Glama

Crawlora MCP

mlb_statcast_swing_timing_details

Read-only

Returns per-swing play details with miss distance and X/Y/Z timing measurements for a batter or pitcher Swing Timing row. Pass row_id, type, and the same table filters; use mlb_discovery to find filter values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesRequired row type: batter or pitcher.
flagsNoOptional positive flag filters from mlb_discovery.
teamsNoOptional MLB team ids from mlb_discovery; select one or more.
countsNoOptional ball-strike counts from mlb_discovery; select one or more.
row_idYesRequired uniqueId from a batter or pitcher row returned by mlb_statcast_swing_timing.
splitsNoOptional split dimensions from mlb_discovery; defaults to api_pitch_type_group09.
seasonsNoOptional seasons from mlb_discovery; defaults to the current season.
bat_sideNoOptional batter side: L or R.
date_endNoOptional date range end in YYYY-MM-DD format.
min_splitNoOptional minimum group swings from mlb_discovery; defaults to 1.
not_flagsNoOptional excluded flag filters from mlb_discovery.
date_startNoOptional date range start in YYYY-MM-DD format.
game_typesNoOptional game-type codes from mlb_discovery; defaults to R.
min_swingsNoOptional minimum swing qualifier from mlb_discovery; defaults to q.
pitch_handNoOptional pitcher hand: L or R.
split_yearNoOptional year split flag: 1 or 0; defaults to 1.
attack_zoneNoOptional attack-zone code from mlb_discovery.
pitch_typesNoOptional pitch type codes from mlb_discovery; select one or more.
contact_typeNoOptional contact type: 2, 4, or 9.
swing_timing_xNoOptional Tiedup, Centered, or Flail categories.
swing_timing_yNoOptional Early, OnTime, or Late categories.
swing_timing_zNoOptional Under, Linedup, or Over categories.

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.6/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 safety and external-data reach are covered. The description adds that output includes miss distance and X/Y/Z timing measurements, but says nothing about return shape, pagination, or per-swing volume limits. Adds some value on top of annotations but not rich context.

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 tight sentences, no waste, with the payload description front-loaded and the parameter guidance after. Efficient and appropriately sized for a 22-parameter detail tool.

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?

An output schema exists so return values need not be explained, and annotations cover the safety profile. The description supplies required-param guidance and the mlb_discovery link, leaving only minor gaps around how the filters relate to the parent swing_timing call.

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 22 fully documented parameters, so the baseline is 3. The description names the two required parameters (row_id, type) and points to mlb_discovery for filter values, but adds no syntax or semantics beyond what the schema already 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 payload: per-swing play details including miss distance and X/Y/Z timing measurements, scoped to a batter/pitcher Swing Timing row. The relationship to the sibling mlb_statcast_swing_timing is implied via 'Swing Timing row' but never named explicitly, so the sibling differentiation is inferred rather than stated.

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?

Tells the agent to pass row_id, type, and the same table filters, and routes it to mlb_discovery to obtain filter values. Clear context for invoking, though no explicit when-not or alternative-branch guidance beyond the discovery pointer.

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