Skip to main content
Glama

FootballOddsAPI

GET /leagues

get_leagues
Read-only

The API's /leagues endpoint, answered as the API answers: the leagues and cups covered, each with its id, country and how many fixtures have odds now.

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": "get_leagues"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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 cover the safety profile with readOnlyHint=true, so the description only needs to add context. 'Answered as the API answers' usefully signals a passthrough of the upstream response rather than a reshaped one, and it discloses the fields returned. It does not mention pagination, rate limits, or whether the coverage list is complete or filtered, so it adds moderate rather than rich behavioral detail.

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 that leads with the endpoint and then the payload contents. The phrase 'answered as the API answers' is slightly redundant with the rest of the sentence but does carry meaning about passthrough behavior, so there is little waste.

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?

With no output schema, the description must convey the return shape, and it does: leagues and cups, each with id, country, and a live odds-fixture count. For a zero-parameter read tool whose annotations already declare read-only behavior, this is nearly everything an agent needs, with only ordering and pagination left unstated.

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

Parameters4/5

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

The tool takes zero parameters, which is the baseline-4 case. The description correctly implies no filtering or input is required, so nothing is left ambiguous about how to invoke it.

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 names a specific resource (/leagues) and states what the result contains: the leagues and cups covered, each with id, country, and a count of fixtures that currently have odds. That is a concrete verb-plus-resource picture an agent can act on. It does not contrast itself with siblings such as get_fixtures or find_fixtures, which keeps it 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?

There is no explicit when-to-use or when-not-to-use statement, and no alternative is named. Usage is only implied: an agent would infer this is the discovery call for league ids and countries before calling fixture or odds tools. That inference is reasonable but not stated.

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