List all teams (rosters/franchises) for a league: names, abbreviations, locations, and colors. Works for NFL/NBA/MLB/NHL/soccer/college. Common sport/league pairs: football/nfl, football/college-football, basketball/nba, basketball/wnba, basketball/mens-college-basketball, baseball/mlb, hockey/nh...
AI agents call get_teams to retrieve information from Mcp Espn without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
sport | string | Yes | Sport, e.g. 'basketball'. |
league | string | Yes | League slug, e.g. 'nba'. |
Parameters from the server's own tool schema.
This tool retrieves and displays public sports roster and franchise information. It performs no modifications, deletions, code execution, or financial transactions. The data returned is static metadata about teams. This is a straightforward Read operation with minimal risk even if misused by an AI agent.
From the tool's definition Tool description states it "List all teams (rosters/franchises) for a league: names, abbreviations, locations, and colors." The verb "list" and the enumeration of read-only informational outputs (names, abbreviations, locations, colors) indicate pure data…
Attacks that exploit this kind of access
List all teams (rosters/franchises) for a league: names, abbreviations, locations, and colors. Works for NFL/NBA/MLB/NHL/soccer/college. Common sport/league pairs: football/nfl, football/college-football, basketball/nba, basketball/wnba, basketball/mens-college-basketball, baseball/mlb, hockey/nhl, soccer/eng.1 (Premier League), soccer/usa.1 (MLS), soccer/esp.1 (La Liga), soccer/uefa.champions (Champions League). It is categorised as a Read tool in the Mcp Espn MCP Server, which means it retrieves data without modifying state.
get_teams accepts 2 parameters: sport, league. Required: sport, league. The full parameter table on this page comes from the server's own tool schema.
Register the Mcp Espn MCP server in PolicyLayer and add a rule for get_teams: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Espn. Nothing to install.
get_teams is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_teams rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_teams. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_teams is provided by the Mcp Espn MCP server (pipeworx-io/mcp-espn). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →