MLB Stats

create_teams_plot

Plots a scatter plot with each MLB team Args: data: (pandas.DataFrame) pandas.DataFrame of Fangraphs team data (retrieved through team_batting or team_pitching) x_axis: (str) Stat name to be plotted as the x_axis of the chart y_axis: (str) Stat name to be plotted as the y_axis of the chart title: (str), default = None Optional: Title of the plot

Remote etweisberg/mlb-mcp

Other tools also called create_teams_plot? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "title": "Data",
      "additionalProperties": true
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "default": null
    },
    "x_axis": {
      "type": "string",
      "title": "X Axis"
    },
    "y_axis": {
      "type": "string",
      "title": "Y Axis"
    }
  }
}