Skip to main content
Glama

Mlb Boxscore

mlb_boxscore
Read-onlyIdempotent

MLB BOX SCORE for one game by gamePk, from the official MLB Stats API, every batter's line (AB, R, H, HR, RBI, BB, K) in batting-order, every pitcher's line (IP, H, R, ER, BB, K, pitches, decision), and team batting/pitching totals for both clubs. Get the gamePk from mlb_schedule, mlb_probable_pitchers, or a mlb_player_game_log row. Works for in-progress and completed games.

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": {
      "game_pk": 824147
    },
    "name": "mlb_boxscore"
  }
}

Input Schema

NameRequiredDescriptionDefault
game_pkYesMLB gamePk (e.g. 824147), from mlb_schedule / mlb_probable_pitchers / mlb_player_game_log.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / game_pk / description
      Previous value: -"MLB gamePk (e.g. 824147) — from mlb_schedule / mlb_probable_pitchers / mlb_player_game_log."New value: +"MLB gamePk (e.g. 824147), from mlb_schedule / mlb_probable_pitchers / mlb_player_game_log."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds real value by naming the upstream source (official MLB Stats API), disclosing that in-progress games are supported, and enumerating the returned stat categories. It does not mention latency, rate limits, or handling of postponed/unstarted games.

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?

Front-loaded with the core verb+resource, then response contents, then gamePk sourcing. Dense but every clause carries information; the stat enumerations are long but justified given there is no output schema.

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 no output schema, the description carries the burden of describing returns and does so field-by-field (AB/R/H/HR/RBI/BB/K, IP/H/R/ER/BB/K/pitches/decision, team totals), while also covering input provenance and game-state applicability. Nothing essential for correct invocation is missing.

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?

Only one parameter and schema coverage is 100%; the schema description already says gamePk comes from mlb_schedule / mlb_probable_pitchers / mlb_player_game_log, which the prose largely restates. The example gamePk values in the schema do the illustrative work, so the description adds little beyond the structured field.

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?

States a specific verb and resource ('MLB BOX SCORE for one game by gamePk') and then enumerates exactly what the payload contains: batter lines with named stats, pitcher lines with named stats and decision, and team totals. It is clearly distinct from mlb_schedule, mlb_probable_pitchers and mlb_player_game_log, which are named only as sources of the gamePk.

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?

Gives concrete routing guidance: obtain gamePk from mlb_schedule, mlb_probable_pitchers, or a mlb_player_game_log row, and notes it applies to in-progress as well as completed games. No explicit exclusion (e.g. 'for season aggregates use mlb_player_stats'), which keeps it from a 5.

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.