Skip to main content
Glama

mlb-api-mcp

MIT License
18
  • Apple

get_mlb_search_teams

Search for MLB teams by name or ID to retrieve detailed team information. Specify the search key to filter results by team name, ID, or both. Ideal for integrating baseball team data into applications.

Instructions

Search for teams by name or ID.

Args: team_name (str): Team name or ID to search for. search_key (str): Search key ("name", "id", or "all").

Returns: dict: Team search results.

Input Schema

NameRequiredDescriptionDefault
search_keyNoname
team_nameYes

Input Schema (JSON Schema)

{ "properties": { "search_key": { "default": "name", "title": "Search Key", "type": "string" }, "team_name": { "title": "Team Name", "type": "string" } }, "required": [ "team_name" ], "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