get_mlb_roster
Retrieve detailed MLB team rosters by team ID or name, with options to filter by date, roster type, season, or specific fields. Integrates with mlb-api-mcp for comprehensive baseball data access.
Instructions
Get team roster for a specific team (ID or name), with optional filters.
Args: team (str): Team ID or team name as a string. Can be numeric string, full name, abbreviation, or location. date (Optional[str]): Date in 'YYYY-MM-DD' format. If not provided, defaults to today. rosterType (Optional[str]): Filter by roster type (e.g., 40Man, fullSeason, etc.). season (Optional[str]): Filter by single season (year). hydrate (Optional[str]): Additional data to hydrate in the response. fields (Optional[str]): Comma-separated list of fields to include.
Returns: dict: Team roster information.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
date | No | ||
fields | No | ||
hydrate | No | ||
rosterType | No | ||
season | No | ||
team | Yes |