Skip to main content
Glama

List a league's seasons

list_seasons
Read-only

Lists a league's seasons by league code, such as its regular season and playoffs. Pass season ids to create_composed_calendar to follow only those seasons.

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": {
      "code": "<code>"
    },
    "name": "list_seasons"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds that results contain season types (regular season, playoffs) and that seasons carry ids usable downstream, but says nothing about behavior for an unknown league code, empty results, or ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero waste, with the core action front-loaded before the downstream workflow hint. Every sentence earns its place.

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 simple single-parameter read tool with no output schema, the description conveys both what comes back conceptually and why an agent would want it, which is close to sufficient. A brief note on the return shape (e.g., presence of ids and names) or on invalid-code behavior would make it fully complete.

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?

With a single parameter and 0% schema description coverage, the description carries the burden and does clarify that 'code' is a league code (not a numeric id or a season id), preventing an obvious misuse. However, it gives no format example, casing, or validity rules for the code, so the compensation is partial.

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?

The description gives a concrete verb and resource ('Lists a league's seasons') and clarifies the resource by naming examples ('regular season and playoffs'), so an agent knows this returns season entities for a league rather than games or teams. It does not explicitly contrast itself with the similarly named sibling list_league_season_slugs, so it falls short of full sibling differentiation.

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?

It provides a clear reason to call it: obtain season ids to feed into create_composed_calendar for following specific seasons, which is genuine workflow guidance. It offers no explicit when-not or alternative-tool exclusion, so it stops short of the top score.

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.

Resources