Skip to main content
Glama
MLB Stats MCP

MLB Stats MCP

by prnv-13

get_player_info

Read-onlyIdempotent

Retrieve an MLB player's biography—team, position, age, height, handedness, debut and birthplace—using a player ID from search results.

Instructions

Get a player's biography: team, position, age, height, handedness, debut, birthplace.

Args:
    player_id: MLB player id from search_players.

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": {
      "player_id": "<player_id>"
    },
    "name": "get_player_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
player_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, and the description adds no behavioral context beyond restating which fields come back. It does not mention what happens for an unknown or historical player_id, whether the response is cached, or any error/pagination behavior — gaps that matter for an open-world lookup.

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 purpose and payoff list in one sentence, followed by a compact Args block. The Args line restates the parameter name but earns its place by naming the sibling that produces the id; otherwise there is no filler.

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

Completeness4/5

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

An output schema exists, so the description need not explain return values, and annotations cover the safety profile; the definition nonetheless names the returned fields and the parameter's source, which is enough to call it correctly. The remaining shortfall is routing guidance versus get_player_stats/get_player_game_log and error behavior for bad ids.

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

Parameters4/5

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

Schema description coverage is 0%, so the single parameter is undocumented in the schema itself; the description compensates by identifying player_id as an MLB player id sourced from search_players, which gives the agent both the identifier type and the acquisition path. It stops short of stating that the value is an integer or an MLBAM id, so meaning is added but not fully.

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 ("Get a player's biography") and immediately enumerates the exact contents: team, position, age, height, handedness, debut, birthplace. That field list makes it unmistakably distinct from siblings like get_player_stats and get_player_game_log without opening either schema.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the biographical field list signals this is the tool for profile data, not performance data, and the Args note ties it to a prior search_players call. There is no explicit when-not guidance or named alternative, so the agent must infer the routing.

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