Skip to main content
Glama

MLB hitter splits

invoke_mlb_hitter_splits
Read-onlyIdempotent

Hitter performance against left handed and right handed pitching. window season is the full season (40+ PA), window l30 is the last 30 days (20+ PA). Returns wOBA, wRC+, ISO, OPS, strikeout and walk rates, hard hit and fly ball rates.

Input Schema

NameRequiredDescriptionDefault
teamNoTeam abbreviation, for example NYY.
limitNoMaximum rows to return. The plan limit applies on top.
splitNoPlatoon split: vs_LHP or vs_RHP.
playerNoPlayer name, for example Aaron Judge.
windowNoTime window: season or l30.
sort_byNoSort field.
sort_dirNoSort direction: desc or asc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower; the description still adds real behavioral context by listing returned metrics and the sample-size floors that make each window meaningful. It omits default behavior when optional filters are omitted, which is the one remaining behavioral gap.

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?

Three dense sentences, front-loaded with the core purpose, then window semantics, then return payload — no filler. The metric list is long but each item is informative, so it stays close to optimal.

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 7 optional parameters and no output schema, the description does the right work by enumerating return metrics and window thresholds. It falls short of complete because all parameters are optional and the description never states defaults for split, window, or sort, leaving the agent to guess the no-argument behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description goes beyond the enums by attaching a concrete meaning to 'season' (40+ PA) and 'l30' (20+ PA), which affects how an agent should interpret and trust the output. It does not explain sort_by/sort_dir or limit semantics beyond the schema.

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?

The first sentence states a specific resource and verb-like scope: hitter performance against LHP/RHP, i.e. platoon splits for batters. That implicitly distinguishes it from invoke_mlb_pitcher_splits and invoke_mlb_team_splits, but neither sibling is named, so differentiation requires inference.

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?

The description explains the two window options and their minimum PA thresholds, which is parameter help rather than usage guidance. It never says when to reach for this instead of invoke_mlb_pitcher_splits, invoke_mlb_matchup, or invoke_mlb_probable-style teammates, and gives no exclusions.

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