Skip to main content
Glama
io.github.christianclaudio/espn

io.github.christianclaudio/espn

Teams Get Franchise

teams_get_franchise
Read-onlyIdempotent

Retrieve details for a single sports franchise, including name, colors, team, and venue, using sport, league, and franchise ID.

Instructions

Unofficial: ESPN publishes no docs for this route. One franchise: name, colors, team, and venue.

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>",
      "franchise_id": "<franchise_id>"
    },
    "name": "teams_get_franchise"
  }
}

Input Schema

NameRequiredDescriptionDefault
sportYese.g. basketball
leagueYese.g. nba, eng.1
franchise_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.2

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description does add genuinely useful context that annotations cannot: the route is unofficial and undocumented, which warns that fields or availability may change. It stops short of describing error behavior or response shape beyond field names.

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?

Two short sentences with no filler, and the reliability caveat is front-loaded before the payload description. It is terse to the point of omitting necessary parameter guidance, but nothing written is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully enumerates the returned fields, and three required params (one banally named) keep the call shape simple. However, franchise_id lacks any definition and no alternative is offered, so an agent can identify the tool but may still fumble the arguments.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 67%, and franchise_id has no description in the schema and none in the text. The description does not clarify the sport/league identifier formats or where a franchise_id comes from, leaving an agent to guess the key parameter's expected value.

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?

"One franchise: name, colors, team, and venue" states the resource (a single franchise) and its returned fields, which distinguishes it from the sibling listing tool teams_list_franchises. The verb is implied by the name rather than stated, and no other sibling is explicitly named as a contrast.

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 when-to-use or when-not-to-use guidance. An agent must infer from the name that this is the single-record counterpart to teams_list_franchises, and nothing says what to do if the franchise is unknown or how it differs from teams_get_team.

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