Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

mlb_team_stats

Retrieve aggregate MLB team stats by season, group (hitting, pitching, fielding), and stat type for performance analysis.

Instructions

One team's aggregate stats — by season + group (hitting/pitching/fielding) and stat type.

Returns: {stats:[{type, group, splits:[{season, team, stat:{...}}]}]}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNohitting
statsNoseason
seasonYes
teamIdYes
sportIdNo
Behavior4/5

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

The description explicitly provides the return format and structure, which adds significant transparency beyond a basic purpose statement. It does not contradict any annotations (none provided). It lacks details on data freshness or potential side effects, but for a read-only stats tool, the provided info is sufficient.

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?

Two concise sentences. First sentence states purpose with key differentiation. Second sentence gives explicit return format. No wasted words.

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?

Given the tool has 5 parameters, no output schema, and no annotations, the description provides a good high-level overview but lacks details on parameter values and ranges (e.g., acceptable values for group, stats, sportId). The return format is specified, which is helpful, but not fully complete for an agent to invoke correctly without additional knowledge.

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?

With 0% schema coverage, the description must compensate. It explains the purpose of group and stats parameters by mentioning group options (hitting/pitching/fielding) and stat type, but does not explain the meaning or allowed values for teamId or sportId. Also, the stats parameter default 'season' could be clearer. Adds some value but incomplete.

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 returns aggregate stats for a single team, with filtering by season, group (hitting/pitching/fielding), and stat type. It uses specific verb-resource combination and distinguishes from sibling tools like mlb_teams_stats (multiple teams) and mlb_stats (general).

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?

The description implies single-team use, but does not explicitly state when to use this tool over alternatives like mlb_stats or mlb_teams_stats. No guidance on prerequisites or context-appropriate use.

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