Skip to main content
Glama
Sports Hub MCP Server

Sports Hub MCP Server

by danmorris27

sportsrc: Get leagues

sportsrc_get_leagues
Read-onlyIdempotent

Lists supported football leagues and competitions with their IDs so you can query scores and tables.

Instructions

List football leagues/competitions supported by SportSRC. Returns league ids you can pass to scores and tables tools.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sportsrc_get_leagues"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoKeys to keep (comma-separated).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds value beyond that by disclosing the return shape ('league ids') and their downstream role, though it says nothing about error behavior or result size.

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 tight sentences, front-loaded with the purpose and followed by the actionable return value. No filler, no repetition of the title.

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 zero-required-parameter list tool with no output schema, the description covers what is returned (league ids) and how to use it. It could go further by describing whether league objects include names or country data alongside ids, but it is adequate for a simple lookup.

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?

There is one optional parameter ('fields') with 100% schema description coverage, so the schema fully documents it. The description adds no syntax or formatting guidance for the field-selection parameter, making this the expected baseline when structured data carries the load.

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 ('List football leagues/competitions supported by SportSRC'), so the agent immediately knows what it gets back. It does not, however, explicitly differentiate itself from other league-listing siblings such as sportsrc_get_sports, sportsdb_get_league_list, or footballdata_uk_list_leagues, leaving the agent to infer the boundary from the provider prefix.

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?

The second sentence gives clear workflow context: the returned ids are meant to be passed to the scores and tables tools, framing this as a discovery/entry-point call. It stops short of stating when NOT to use it or naming an alternative, so it is strong context without explicit exclusions.

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