Skip to main content
Glama

mlb-api-mcp

MIT License
25
  • Apple

get_mlb_search_players

Search for MLB players by name using a specified sport ID and search key. Retrieve player data in JSON format for integration with AI applications or baseball analysis tools.

Instructions

Search for players by name.

Args: fullname (str): Player name to search for. sport_id (int): Sport ID (default: 1 for MLB). search_key (str): Search key (default: "fullname").

Returns: dict: Player search results.

Input Schema

NameRequiredDescriptionDefault
fullnameYes
search_keyNofullname
sport_idNo

Input Schema (JSON Schema)

{ "properties": { "fullname": { "title": "Fullname", "type": "string" }, "search_key": { "default": "fullname", "title": "Search Key", "type": "string" }, "sport_id": { "default": 1, "title": "Sport Id", "type": "integer" } }, "required": [ "fullname" ], "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