Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

apisports_baseball_games

Read-onlyIdempotent

Fetch baseball games for a specific date or league, including team scores and inning-by-inning details across MLB, NPB, KBO, and more.

Instructions

Baseball games (MLB, NPB, KBO and others) by date or league.

Returns: {response:[{id, date, status, league, teams, scores:{home:{hits, errors, innings:{'1','2',…, extra}, total}, away:{…}}}]} — SHAPE FROM VENDOR DOCS. Innings are keyed by NUMBER-AS-STRING. For MLB itself, the keyless official mlb provider is deeper.

NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.

Example: A day's games {"date": "2024-07-04"}

Auth: needs your own key in API_SPORTS_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoYYYY-MM-DD.
teamNoTeam id.
leagueNoLeague id.
seasonNoSeason year.
Behavior5/5

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

Annotations already mark this as read-only, idempotent, and open-world, but the description adds critical behavioral context: the return shape is from vendor docs and unverified, innings are keyed by number-as-string, and the tool requires an API key. These disclosures go well beyond what annotations provide.

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 description is moderately sized but every part earns its place: purpose, return shape, caveat about unverified shape, example, and auth requirement. The return shape is lengthy but justifiable given there is no output schema. Could be slightly tighter, but overall it is well-structured.

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?

The description covers purpose, filtering, return shape, authentication, and an example, which is quite complete for a read-only tool with no output schema. It also highlights a key caveat about data reliability and points to the deeper official MLB provider. It lacks details on error handling or rate limits, but these are not critical for a simple query tool.

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 parameters are already documented. The description adds a concrete example ({"date": "2024-07-04"}) and reinforces that the tool filters by date or league, but it does not add new meaning to team, league, or season parameters beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states what the tool does: 'Baseball games (MLB, NPB, KBO and others) by date or league.' It names specific leagues and the filter dimensions. It also differentiates this tool from the official `mlb` provider, making it distinguishable from siblings.

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?

The description implies when to use this tool: for baseball games by date or league. It also provides an alternative recommendation by noting that the keyless official `mlb` provider offers deeper data for MLB. However, it does not explicitly enumerate exclusions or edge cases, which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanielTomaro13/sportsdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server