get_teams

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...

Server Mcp Espn pipeworx-io/mcp-espn
Category Read
Risk class Low
Parameters 22 required

What get_teams does on Mcp Espn

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.

ParameterTypeRequiredDescription
sport string Yes Sport, e.g. 'basketball'.
league string Yes League slug, e.g. 'nba'.

Parameters from the server's own tool schema.

Why get_teams needs a policy

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…

Questions about get_teams

What does the get_teams tool do? +

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.

What parameters does get_teams accept? +

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.

How do I enforce a policy on get_teams? +

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.

What risk level is get_teams? +

get_teams is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_teams? +

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.

How do I block get_teams completely? +

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.

What MCP server provides get_teams? +

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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.