mlb_team_roster
Retrieve a team's player roster with positions and jersey numbers. Select active, 40-man, full-season, or depth chart views by team ID, date, or season.
Instructions
A team's roster — players with position and jersey number. rosterType selects active / 40-man / full-season / depth chart.
Returns: {roster:[{person:{id, fullName}, jerseyNumber, position:{abbreviation, name}, status}], teamId, rosterType}
Auth: none needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"teamId": "<teamId>"
},
"name": "mlb_team_roster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Roster as of a date (YYYY-MM-DD). | |
| season | No | Season year. | |
| teamId | Yes | Team id (from mlb_teams). Required — part of the URL path. | |
| hydrate | No | Embed related objects (e.g. 'person(stats(type=season))'). | |
| rosterType | No | active | 40Man | fullSeason | fullRoster | depthChart | gameday. | active |