Skip to main content
Glama

mlb-api-mcp

MIT License
25
  • Apple

get_mlb_search_teams

Search MLB teams by name or ID using a structured query. Retrieve detailed team information by specifying a search key ("name", "id", or "all") for accurate results.

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