Skip to main content
Glama

SportStatsAPI

find_leagues

Read-only

Find leagues (competitions) of a sport and their ids, optionally by name or country. Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNolanguage of team, league and country names: de, es, it or fr (default English)
queryNotext the league or country name must contain, e.g. 'Premier League' or 'Germany'
sportYessport: soccer, basketball, baseball, hockey, tennis, handball, volleyball or american-football
futureNoonly leagues with upcoming matches

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds one genuinely useful behavioral fact not present in structured data — that the endpoint is 'Free' — but says nothing about result volume, rate limits, or pagination.

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?

A single front-loaded sentence with zero filler: verb and resource first, filters second, cost note last. Nothing is wasted and nothing important is buried.

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 read-only lookup with no output schema and full parameter documentation elsewhere, the description covers intent, filters, and cost. It could be slightly more complete by noting result size or an example use case, but nothing essential is missing.

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%, so the schema already documents lang, query, sport and future with examples and enums. The description only restates the name/country filtering idea, adding little beyond what the schema provides; 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 (find) and resource (leagues/competitions) and clarifies that the result centers on league ids, which is the actual payload an agent needs. It does not explicitly contrast with the closest sibling (find_teams) or get_league_facts, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'optionally by name or country' implies the intended lookup scenario and hints at the two filter modes, but there is no explicit when-to-use guidance, no statement of when not to use it, and no routing to alternatives such as find_teams or get_league_facts.

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