Skip to main content
Glama
Sports Hub MCP Server

Sports Hub MCP Server

by danmorris27

sportsdb: Get seasons

sportsdb_get_seasons
Read-onlyIdempotent

Retrieve all available seasons for a specified league using its TheSportsDB league ID.

Instructions

List all available seasons for a league.

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": {
      "league_id": "<league_id>"
    },
    "name": "sportsdb_get_seasons"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoKeys to keep (comma-separated).
league_idYesTheSportsDB league ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds almost nothing beyond that: it does not mention ordering, completeness, pagination, or behavior on an unknown league_id, which for a read-only lookup tool is a thin contribution.

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?

A single front-loaded sentence with zero filler — the scope constraint ('for a league') sits immediately after the verb. It is efficient, though the terseness borders on under-specification rather than true conciseness.

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?

For a simple one-parameter read tool with full schema coverage and annotations, the description is minimally sufficient. It still omits the result shape/ordering and the upstream dependency on a league lookup, which an agent would benefit from knowing.

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?

Schema description coverage is 100% with only 2 parameters, both documented inline ('TheSportsDB league ID', 'Keys to keep (comma-separated)'). The description's 'for a league' merely restates league_id, so baseline 3 applies.

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?

States a specific verb and resource with scope: 'List all available seasons for a league.' An agent can distinguish it from sibling season tools by the sportsdb prefix, but the description itself never differentiates it from f1_get_seasons or motogp_get_seasons beyond the tool name.

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?

No when-to-use guidance, no prerequisites (e.g., that a league_id must first come from sportsdb_get_league_list), and no exclusions versus alternative season-list tools in sibling namespaces. The agent is left to infer everything about triggering conditions.

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

Deploy Server

Other Tools