Major League Baseball · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Stats API Documentation Teams API

17 actions 17 updates phrasing extends openapi/major-league-baseball-teams-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Major League Baseball's API. It is a proposal applied on top of the contract, not a document Major League Baseball publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 17 · first 16 shown; the file carries all of them

$.info
$.paths['/api/v1/teams/{teamId}/alumni'].get
$.paths['/api/v1/teams/{teamId}/alumni'].post
$.paths['/api/v1/teams/{teamId}/stats'].get
$.paths['/api/v1/teams/{teamId}/roster'].get
$.paths['/api/v1/teams/{teamId}/roster/{rosterType}'].get
$.paths['/api/v1/teams/{teamId}/personnel'].get
$.paths['/api/v1/teams/{teamId}/leaders'].get
$.paths['/api/v1/teams/{teamId}/history'].get
$.paths['/api/v1/teams/history'].get
$.paths['/api/v1/teams/{teamId}/coaches'].get
$.paths['/api/v1/teams/{teamId}/affiliates'].get
$.paths['/api/v1/teams/affiliates'].get
$.paths['/api/v1/teams/stats'].get
$.paths['/api/v1/teams/stats/leaders'].get
$.paths['/api/v1/teams'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Stats API Documentation Teams API
  version: 1.0.0
extends: openapi/major-league-baseball-teams-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 16
- target: $.paths['/api/v1/teams/{teamId}/alumni'].get
  update:
    x-apievangelist-phrasing:
      intent: List a team's alumni
      effect: read
      questions:
      - Who played for a team in a given season?
      - Can I group a team's alumni by stat category?
      instructions:
      - text: List the alumni of team {teamId} in season {season}.
        slots:
          teamId: path.teamId
          season: query.season
      - text: Show team {teamId} alumni for season {season} grouped by {group}.
        slots:
          teamId: path.teamId
          season: query.season
          group: query.group
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/alumni'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a team's alumni roster
      effect: write
      questions:
      - How do I add or remove players from a team's alumni list?
      - Can I update a team's alumni for a season?
      instructions:
      - text: Update the alumni roster of team {teamId} for season {season}.
        slots:
          teamId: path.teamId
          season: query.season
      - text: Replace team {teamId} alumni in season {season} with these players.
        slots:
          teamId: path.teamId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a team's stats for a season
      effect: read
      questions:
      - What are a team's batting and pitching stats for a season?
      - Can I see a team's stats against a specific opponent?
      instructions:
      - text: Get team {teamId} stats for season {season}.
        slots:
          teamId: path.teamId
          season: query.season
      - text: Show team {teamId} stats against team {opposingTeamId} in season {season}.
        slots:
          teamId: path.teamId
          opposingTeamId: query.opposingTeamId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/roster'].get
  update:
    x-apievangelist-phrasing:
      intent: View a team's roster for a date
      effect: read
      questions:
      - Who was on a team's roster on a particular game date?
      - Can I get a team's roster for a specific game type?
      instructions:
      - text: Show the {rosterType} roster of team {teamId} on {date}.
        slots:
          rosterType: path.rosterType
          teamId: path.teamId
          date: query.date
      - text: Get team {teamId} {rosterType} roster for game type {gameType}.
        slots:
          teamId: path.teamId
          rosterType: path.rosterType
          gameType: query.gameType
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/roster/{rosterType}'].get
  update:
    x-apievangelist-phrasing:
      intent: View a team's roster by roster type
      effect: read
      questions:
      - Can I pull a team's roster for a single roster type?
      - What does a team's roster look like for a specific roster type?
      instructions:
      - text: Show the {rosterType} roster of team {teamId}.
        slots:
          rosterType: path.rosterType
          teamId: path.teamId
      - text: Get team {teamId} roster for roster type {rosterType} in season {season}.
        slots:
          teamId: path.teamId
          rosterType: path.rosterType
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/personnel'].get
  update:
    x-apievangelist-phrasing:
      intent: List a team's coaches
      effect: read
      questions:
      - Who are the coaches on a team?
      - Can I see a team's coaching staff for a season?
      instructions:
      - text: List the coaches of team {teamId}.
        slots:
          teamId: path.teamId
      - text: Show team {teamId} coaches for season {season}.
        slots:
          teamId: path.teamId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/leaders'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a team's stat leaders
      effect: read
      questions:
      - Who are a team's top hitters and pitchers this season?
      - Can I limit stat leaders to certain categories or game types?
      instructions:
      - text: Get the stat leaders for team {teamId}.
        slots:
          teamId: path.teamId
      - text: Show team {teamId} stat leaders for categories {leaderCategories} in season {season}.
        slots:
          teamId: path.teamId
          leaderCategories: query.leaderCategories
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/history'].get
  update:
    x-apievangelist-phrasing:
      intent: Get historical records for a team
      effect: read
      questions:
      - What are a team's historical records over several seasons?
      - Can I get a team's history from a start season to an end season?
      instructions:
      - text: Get the historical records for team {teamId}.
        slots:
          teamId: path.teamId
      - text: Show team {teamId} history from season {startSeason} to {endSeason}.
        slots:
          teamId: path.teamId
          startSeason: query.startSeason
          endSeason: query.endSeason
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/history'].get
  update:
    x-apievangelist-phrasing:
      intent: List a team's historical records
      effect: read
      questions:
      - Which teams played in a given season?
      - Can I list several teams' histories at once?
      instructions:
      - text: Show the history of team {teamId}.
        slots:
          teamId: path.teamId
      - text: List history for teams {teamIds} between {startSeason} and {endSeason}.
        slots:
          teamIds: query.teamIds
          startSeason: query.startSeason
          endSeason: query.endSeason
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/coaches'].get
  update:
    x-apievangelist-phrasing:
      intent: List a team's coaches
      effect: read
      questions:
      - Who were a team's coaches in a particular season?
      - Can I see who the manager and pitching coach were on a given date?
      instructions:
      - text: List the coaches for team {teamId} in {season}.
        slots:
          teamId: path.teamId
          season: query.season
      - text: Find who coached team {teamId} on {date}.
        slots:
          teamId: path.teamId
          date: query.date
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}/affiliates'].get
  update:
    x-apievangelist-phrasing:
      intent: View a team and its affiliates
      effect: read
      questions:
      - Which minor league affiliates does a team have?
      - Can I see a team's affiliates for a season?
      instructions:
      - text: Show the affiliates of team {teamId}.
        slots:
          teamId: path.teamId
      - text: List team {teamId} and its affiliates for season {season}.
        slots:
          teamId: path.teamId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/affiliates'].get
  update:
    x-apievangelist-phrasing:
      intent: List a team's affiliate clubs
      effect: read
      questions:
      - Which minor league clubs are tied to a major league team?
      - Can I see a team's affiliate clubs for one sport level?
      instructions:
      - text: Pull the affiliate clubs for team {teamId} in sport {sportId}.
        slots:
          teamId: path.teamId
          sportId: query.sportId
      - text: Get affiliate clubs of team {teamId} for game type {gameType} in season {season}.
        slots:
          teamId: path.teamId
          gameType: query.gameType
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get stats for all teams
      effect: read
      questions:
      - What are the overall stats for every team in a league?
      - Can I get combined team stats for a stat group?
      instructions:
      - text: Get {group} stats for all teams in {sportId}.
        slots:
          group: query.group
          sportId: query.sportId
      - text: Show team stats for stat group {group} over the last {daysBack} days.
        slots:
          group: query.group
          daysBack: query.daysBack
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/stats/leaders'].get
  update:
    x-apievangelist-phrasing:
      intent: Get stat leaders for all teams
      effect: read
      questions:
      - Who are the top hitters and pitchers across the league?
      - Can I get league-wide stat leaders for a stat group?
      instructions:
      - text: Get stat leaders for all teams in {sportId}.
        slots:
          sportId: query.sportId
      - text: Show league leaders for stat group {statGroup} over the last {daysBack} days.
        slots:
          statGroup: query.statGroup
          daysBack: query.daysBack
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams'].get
  update:
    x-apievangelist-phrasing:
      intent: Look up teams with filters
      effect: read
      questions:
      - Which baseball teams are currently active in a given league?
      - Can I filter teams by division or by active, inactive or pending status?
      - What teams exist for a sport in a particular season?
      instructions:
      - text: List the teams in league {leagueIds} for sport {sportId}, including team {teamId}.
        slots:
          leagueIds: query.leagueIds
          sportId: query.sportId
          teamId: path.teamId
      - text: Show teams in division {divisionId} with active status {activeStatus}, starting with team {teamId}.
        slots:
          divisionId: query.divisionId
          activeStatus: query.activeStatus
          teamId: path.teamId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/teams/{teamId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a team's info
      effect: read
      questions:
      - What are the details of one team?
      - Can I look up a team by its ID?
      instructions:
      - text: Get the info for team {teamId}.
        slots:
          teamId: path.teamId
      - text: Show team {teamId} details for season {season}.
        slots:
          teamId: path.teamId
          season: query.season
      method: generated
      generated: '2026-11-20'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/major-league-baseball-teams-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.