Skip to main content
Glama

Crawlora MCP

mlb_statcast_expected

Read-only

Fetch Baseball Savant Expected Statistics rows and league-average values for batter, pitcher, and team views. Filter by year, team, batter position, BIP or PA threshold, sort, and pagination; position only affects the batter view. Use mlb_discovery for exact values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoOptional metric or row field; use mlb_discovery for all supported values.
typeNoOptional batter, pitcher, batter-team, or pitcher-team table. Defaults to batter.
yearNoOptional season from 2015 through the current season; defaults to the current season.
limitNoOptional number of rows to return, 1-500; defaults to 100.
offsetNoOptional zero-based result offset.
minimumNoOptional minimum threshold: q, 1, 25, 50, 100, 150, 200, 250, 350, 450, 500, or 600. Defaults to q.
team_idNoOptional MLB team id from mlb_teams.
positionNoOptional batter position: C, 1B, 2B, SS, 3B, LF, CF, RF, or DH; only applies to type=batter.
sort_dirNoOptional sort direction: asc or desc.
filter_typeNoOptional minimum qualifier kind: bip or pa. Defaults to bip.

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/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so safety is covered. The description still adds real behavioral context: that league-average values are returned alongside rows and that the position filter only affects the batter view. It omits pagination/rate-limit behavior, so not 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?

Two tight sentences: the data returned and views come first, filters second, the position caveat and the routing hint close it out. Nothing is redundant or 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 an output schema present, return values need no explanation, and annotations carry the safety profile. The description covers views, filters, the position caveat, and an alternative, which is nearly everything an agent needs; only pagination behavior is left implicit.

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 one of the 10 parameters is already documented in the schema, including the note that position only applies to type=batter. The description's enumeration of filter categories restates rather than extends the schema, so the baseline 3 applies.

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 (Fetch) and a precise resource (Baseball Savant Expected Statistics rows plus league-average values) with the supported views named. It does not differentiate itself from the many other mlb_statcast_* siblings, only pointing at mlb_discovery for a different need, so it falls short of full sibling disambiguation.

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?

It gives clear context (batter/pitcher/team expected-stat views with the available filters) and routes one specific need, exact values, to mlb_discovery. There is no explicit when-not guidance or comparison to the other statcast endpoints, so it stops short of 5.

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