Skip to main content
Glama
mpizza
by mpizza

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
get_daily_results

Fetch MLB game results for a given date (default is today) Args: date (str): The date for fetching game results. Returns: list: A list of dictionaries containing game details.

get_mlb_schedule
Retrieves the MLB game schedule for a specified date range, optionally for a specific team. Args: start_date (str, optional): The start date for the schedule (YYYY-MM-DD). Defaults to today. end_date (str, optional): The end date for the schedule (YYYY-MM-DD). Defaults to today. team_id (int, optional): The ID of the team to get the schedule for. Defaults to None (all teams). Returns: list: A list of dictionaries, where each dictionary represents a game in the schedule. Each game dictionary contains details like game ID, date, time, home team, away team, etc.
mlb_team_result
Retrieves the results (scoring plays and highlights) for a specific MLB team's most recent game. Args: team_name (str): The name of the MLB team (e.g., "Los Angeles Dodgers"). date (str, optional): The date for the schedule (YYYY-MM-DD). Defaults to today. Returns: dict or None: A dictionary containing the scoring plays and game highlights for the team's most recent game, or None if no game is found for the team. The dictionary has the following structure: { "scoring_plays": list, # List of scoring plays "game_highlights": list # List of game highlights }

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/mpizza/mcp_mlb_statsapi'

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