Skip to main content
Glama

espn_teams

Read-only

Returns the full team list for a sport and league from ESPN's credential-free public JSON. The sport enum accepts football, basketball, baseball, hockey, and soccer. The league enum accepts nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, usa.1, and uefa.champions; it must be valid for the chosen sport. Use espn_team to retrieve eSPN team detail.

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": {
      "sport": "<sport>",
      "league": "<league>"
    },
    "name": "espn_teams"
  }
}

Input Schema

NameRequiredDescriptionDefault
sportYesRequired. ESPN sport key. One of football, basketball, baseball, hockey, soccer.
leagueYesRequired. League key within the sport, e.g. nfl, nba, mlb, nhl, eng.1.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly=true and openWorld=true, so the description's added note that the data comes from a credential-free public JSON endpoint is genuine extra context: no auth setup is needed. It does not explain why idempotentHint is false for a static team list, so the agent gets no warning about result volatility across calls.

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 purpose, then constraints, then the sibling pointer. The long league enumeration costs space but earns it because the schema declares no enums, so it is not redundant. Minor trim possible in the sport list, which partly duplicates the schema description.

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?

Strong coverage for a simple two-param read tool: source, auth model, allowed values, validity constraint, and the detail-tool handoff are all present, and an output schema covers return values. It leaves unstated what happens with an invalid or mismatched league key, which is the one remaining gap for correct invocation.

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 coverage is 100% with both params documented, yet the description still adds value by enumerating the full accepted sport and league values, which the schema omits (zero params with enums declared). It also states the cross-parameter constraint that league must be valid for the sport, which the schema does not express.

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 ("Returns the full team list") plus the source scope (ESPN's public JSON), and explicitly differentiates from the closely named sibling espn_team. An agent can tell immediately that this is the collection endpoint and espn_team is the detail endpoint.

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 a clear use case (full team list for a sport/league) and names the alternative to use for detail (espn_team). It also states a precondition that the league must be valid for the chosen sport, which is real routing guidance. It stops short of saying when another provider's team-list tool would be preferable, but that is not required.

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.