Skip to main content
Glama

FastballAPI

Player games

get_player_games
Read-onlyIdempotent

Use for a player's game log: every game's batting line and pitching line, newest first, optionally one season. Costs 5 credits.

Input Schema

NameRequiredDescriptionDefault
limitNo
leagueNoLeague. Defaults to mlb. One of: mlb, ncaabase.
offsetNo
seasonNoSeason (a year, e.g. 2025; default: the latest).
player_idYes
season_typeNo

Output Schema

NameRequiredDescriptionDefault
countYes
battingYes
pitchingYes
player_idYes
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value beyond that: per-game batting AND pitching lines, newest-first ordering, season scoping, and a concrete 5-credit cost.

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?

A single dense sentence, front-loaded with the use case, then content, ordering, scoping and cost. No filler whatsoever.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 no explanation, and cost plus ordering are disclosed. However, missing pagination and league behavior leaves an agent without enough to call a 6-parameter endpoint confidently at scale.

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

Parameters2/5

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

Schema coverage is only 33% across 6 parameters, so the description needs to compensate and largely does not. It only hints at season scoping and says nothing about limit/offset pagination (important given 'every game' with a 200-row cap), league (mlb vs ncaabase), or season_type.

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: a player's game log with every game's batting line and pitching line, newest first. This is clearly distinct from get_games (games) and get_player (profile), though it never names a sibling explicitly.

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?

'Use for a player's game log' signals the intended case, and 'optionally one season' implies a season-scoped variant. There is no explicit when-not guidance or routing to alternatives such as get_plate_appearances or get_player.

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.