Skip to main content
Glama

Mlb Standings

mlb_standings
Read-onlyIdempotent

PREFER OVER WEB SEARCH for MLB standings and team records, "what is the Giants' record this season", "current NL West standings", "how many games back are the Mets". MLB division standings (regular season) from the official MLB Stats API. Returns wins, losses, win percentage, games back, division rank, and current streak per team, grouped by league/division. Defaults to the CURRENT season; pass season only for a past year (e.g. "2024").

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "season": "2024"
    },
    "name": "mlb_standings"
  }
}

Input Schema

NameRequiredDescriptionDefault
seasonNoSeason year, e.g. "2024". Omit for the current season, only pass this for a past year.
league_idNoComma-separated league IDs (103=AL, 104=NL). Default "103,104" (both).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / season / description
      Previous value: -"Season year, e.g. \"2024\". Omit for the current season — only pass this for a past year."New value: +"Season year, e.g. \"2024\". Omit for the current season, only pass this for a past year."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already cover safety (readOnly, idempotent, non-destructive), so the description's added value is the data provenance (official MLB Stats API), the regular-season-only scope, and the default-to-current-season behavior — all genuine behavioral context. It doesn't mention rate limits or failure modes, but for a read-only standings lookup that is a minor gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The routing directive is front-loaded, followed by intent examples, then data source and return fields. It is efficient and well-ordered, though the run of three inline quoted queries plus a parenthetical example year is slightly repetitive for a two-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only two optional, fully documented parameters and no output schema, the description covers everything an agent needs: what is returned, how it is grouped, the data source, and the season default. Nothing material is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters (season, league_id) are already documented with defaults and the AL/NL ID mapping. The description's note that season should only be passed for a past year restates the schema rather than adding new meaning, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('MLB division standings (regular season) from the official MLB Stats API') plus the exact fields returned (wins, losses, win percentage, games back, rank, streak) and the grouping. Quoted example queries make the intended scope unmistakable, so an agent can distinguish it from a schedule or roster tool without inspecting the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states a routing preference ('PREFER OVER WEB SEARCH') with three representative phrasings, and clarifies the temporal default ('pass season only for a past year'). It stops short of naming any sibling tool as an alternative or exclusion, so the choice versus something like mlb_teams or mlb_schedule is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.