Skip to main content
Glama

mlb-api-mcp

MIT License
18
  • Apple

get_mlb_team_info

Retrieve detailed MLB team information by ID or name, including optional season, sport ID, and custom data fields. Use this tool to access comprehensive baseball team data for analysis or integration.

Instructions

Get information about a specific team by ID or name.

Args: team (str): Team ID or team name as a string. Can be numeric string, full name, abbreviation, or location. season (Optional[int]): Season year. sport_id (Optional[int]): Sport ID. hydrate (Optional[str]): Additional data to hydrate. fields (Optional[str]): Comma-separated list of fields to include.

Returns: dict: Team information.

Input Schema

NameRequiredDescriptionDefault
fieldsNo
hydrateNo
seasonNo
sport_idNo
teamYes

Input Schema (JSON Schema)

{ "properties": { "fields": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Fields" }, "hydrate": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Hydrate" }, "season": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Season" }, "sport_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Sport Id" }, "team": { "title": "Team", "type": "string" } }, "required": [ "team" ], "type": "object" }

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/guillochon/mlb-api-mcp'

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