Skip to main content
Glama

Mlb Roster

mlb_roster
Read-onlyIdempotent

Active roster for an MLB team from the official MLB Stats API. Returns each player with id, name, jersey number, and position abbreviation.

Input Schema

NameRequiredDescriptionDefault
team_idYesMLB team id (e.g. 147 for the Yankees).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, covering the safety profile. The description adds useful context by noting the official MLB Stats API source and the 'active' roster scope, but it does not disclose additional behavioral details such as data freshness, rate limits, or how open-world changes might affect results.

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

Conciseness5/5

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

Two sentences with no filler or repetition. The core purpose is front-loaded, and the return value summary is concise without repeating schema details.

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?

For a single-parameter, read-only tool with full schema coverage and no output schema, the description provides the necessary return-field context. It does not mention how to obtain team IDs or reference sibling tools, but with the schema example provided this is a minor gap rather than a completeness failure.

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%: the only parameter, team_id, is already documented with type and an example. The description does not add meaning beyond the schema, so the baseline score of 3 is appropriate.

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 clearly identifies the resource ('Active roster for an MLB team') and the specific operation ('Returns each player with id, name, jersey number, and position abbreviation'). It is distinct from sibling tools like mlb_schedule, mlb_standings, and mlb_teams.

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?

The description implies this should be used when the agent needs an active MLB team roster, and the return fields clarify what is available. However, it does not explicitly distinguish when to choose this over related sibling tools such as mlb_teams or mlb_player, nor does it state any exclusions or alternatives.

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.