Skip to main content
Glama

Historical Baseball

Baseball Team Season

baseball_team_season
Read-onlyIdempotent

One MLB team's full-season record and stats for one year, from the SABR Lahman Baseball Database (1871-2025): wins/losses, division/league/World Series result, runs scored and allowed, team batting and pitching totals, home park and attendance. Pass team as a 3-letter-ish code ("NYA", "BOS") or a common name ("Yankees", "Red Sox", "Dodgers") -- codes changed for some relocated/renamed franchises over the years (e.g. the Athletics' code changed for 2025), so an unrecognized code for that year is refused with a clear error rather than an empty success; try the franchise's name instead, or call with a nearby year to see what code that franchise used.

Input Schema

NameRequiredDescriptionDefault
teamYesTeam code ("LAN") or common name ("Dodgers").
yearYesSeason year, e.g. 1927.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this as a safe, read-only, idempotent, open-world operation. The description adds meaningful behavior beyond that: the source and year range of the data, and the important failure mode that an unrecognized code is refused with a clear error rather than returning an empty success.

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?

The purpose and included data are front-loaded, and the remaining details are useful edge-case guidance. The single dense paragraph with several parentheticals is slightly heavy but does not contain obvious filler.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and only two parameters, the description is complete enough: it names the source and year range, enumerates the returned stats, explains accepted team identifiers, and covers the main error case. An agent has what it needs to invoke the tool correctly.

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 both parameters are already documented, establishing a baseline of 3. The description goes further by explaining that team accepts either a 3-letter-ish code or a common name, and that historical code changes make names or nearby years useful fallback strategies.

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 description opens with a specific verb+resource: "One MLB team's full-season record and stats for one year," and goes on to enumerate the included record categories. It does not explicitly distinguish itself from siblings like baseball_game_log or baseball_season_leaders, but the resource is clear enough to separate them.

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?

It gives practical guidance on how to pass the team argument and what to do when a code is unrecognized (try the franchise name or a nearby year). However, it never states when to choose this tool over related siblings such as game logs, player history, or season leaders.

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.