Skip to main content
Glama
Sports Hub MCP Server

Sports Hub MCP Server

espn: Get team roster

espn_get_team_roster
Read-onlyIdempotent

Fetch a team's full roster by sport, league, and ESPN team ID, returning player names, positions, jersey numbers, and basic stats.

Instructions

Get the full roster for a specific team, including player names, positions, jersey numbers, and basic stats.

Input Schema

NameRequiredDescriptionDefault
sportYesSport code, e.g. "football", "basketball", "baseball", "hockey", "soccer", "mma", "golf", "tennis", "racing"
fieldsNoKeys to keep (comma-separated).
leagueYesLeague code, e.g. "nfl", "nba", "mlb", "nhl", "wnba", "college-football", "mens-college-basketball", "eng.1", "usa.1", "ufc", "pga", "atp", "f1"
team_idYesESPN team ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.4.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Keys to keep (comma-separated).",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv1.2.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. Because there is no output schema, the description carries the return-value burden and does so usefully by listing exactly what the roster payload contains, though it says nothing about team_id format expectations or rate limits.

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?

A single front-loaded sentence that names the tool's purpose first and then the payload contents, with no filler. It is appropriately sized, though it spends no words on differentiating context that would have earned a 5.

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 read-only lookup with a fully documented schema and no output schema, the description gives enough to invoke it correctly and tells the agent what comes back. The one gap is that it does not help the agent choose this tool over the several other ESPN team tools.

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%, so sport, league, team_id and fields are all documented in the schema itself. The description adds no parameter-level detail beyond that, which is the expected baseline when the schema does the heavy lifting.

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

Purpose4/5

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

States a specific verb and resource ('Get the full roster for a specific team') and enumerates the returned entities (names, positions, jersey numbers, basic stats). It is clear on its own but never distinguishes itself from close siblings such as espn_get_team_details or espn_get_teams, which an agent could easily confuse it with.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no mention of alternatives, despite the ESPN family containing espn_get_team_details, espn_get_teams, and espn_get_team_schedule. Usage is only weakly implied by the word 'roster' and the phrase 'specific team'.

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

Deploy Server

Other Tools