Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

balldontlie_mlb_games

Read-onlyIdempotent

Retrieve MLB game schedules and results by date, season, or team, including venue, status, and scores.

Instructions

MLB games by date, season or team. (For MLB alone, the keyless official mlb provider is far deeper.)

Returns: {data:[{id, date, season, postseason, home_team_score, away_team_score, home_team, away_team, venue, status}], meta:{next_cursor}} — SHAPE FROM VENDOR DOCS. NOTE: away_team here, but visitor_team on the NBA and NFL paths. The shape is NOT uniform across sports.

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: One date's games {"dates": ["2024-07-04"]}

Auth: needs your own key in BALLDONTLIE_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datesNoYYYY-MM-DD.
cursorNoCursor from the previous page.
seasonsNoSeason years.
per_pageNoPage size.
team_idsNoTeam ids.
Behavior4/5

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

Annotations declare readOnlyHint, openWorldHint, and idempotentHint. The description adds important context: it warns that the response shape is from vendor docs and has NOT been verified, advising users to inspect the actual payload. It also highlights a notable inconsistency: `away_team` here, but `visitor_team` on NBA/NFL paths. These caveats go beyond annotations and provide critical behavioral guidance.

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 fairly concise and packs a lot of essential caveats into a short space. It clearly separates the main action, the return shape, the warning about unverified shape, the example, and auth note. Slightly dense for an AI agent but every sentence earns its place.

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 tool has a moderate complexity (5 optional params, no output schema). The description covers key aspects: the known response shape, example usage, critical field-name inconsistencies, and the fact that the shape is unverified. The main gap is that it doesn't describe cursor pagination usage, but the schema does have a cursor parameter. Overall, fairly complete for a simple list 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 the schema already defines each parameter. The description adds minimal extra semantics beyond stating 'date, season or team' as the main filters, which maps to the parameters. It doesn't elaborate on values or combinations, but the schema covers the basics, so a baseline 3 is appropriate.

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 the tool fetches 'MLB games by date, season or team', which is a specific verb+resource+scope. It also distinguishes itself from the alternative `mlb` provider by noting the official `mlb` provider is 'far deeper', which helps a user choose between the two.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool vs the official `mlb` provider: 'For MLB alone, the keyless official `mlb` provider is far deeper.' This gives clear guidance on when to prefer an alternative. It also notes the requirements for a key (BALLDONTLIE_API_KEY) and provides an example query.

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