Skip to main content
Glama

Manage Bet Codes

List Bookmaker Leagues

mbc_list_leagues
Read-onlyIdempotent

List the leagues a bookmaker covers for one sport, with a stable league_id, country, name, event count, and live count. Pass a league_id to mbc_search_events for an exact answer. Returns up to 500 rows in one call. Spends 1 work unit. Costs 0 credits.

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": {
      "bookmaker": "<bookmaker>"
    },
    "name": "mbc_list_leagues"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSubstring match on the league name or country.
limitNoPage size hint. The tool returns up to 500 rows in one call, so an agent never paginates by hand.
sportNoSport (default 'football'; pass 'all' for every sport).
offsetNo
bookmakerYesBookmaker key or alias (e.g. 'sportybet').

Output Schema

NameRequiredDescriptionDefault
sportNo
totalNo
sourceNo
leaguesNo
coverageNo
bookmakerNo
truncatedNo
window_daysNo
index_age_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive, so safety is covered. The description adds genuinely useful operational context with the 500-row single-call cap and the cost model (1 work unit, 0 credits). It says nothing about failure modes, unknown bookmaker keys, or result 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?

Four short sentences, front-loaded with purpose followed by routing, capacity, and cost. No filler, and each sentence carries distinct information an agent needs before calling.

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?

Output schema exists, so listing return fields is mild redundancy but harmless; cost, row cap, and the league_id handoff make the definition actionable. The only gap is that pagination via offset is never addressed in prose, though the schema covers it.

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 coverage is 80% and already documents q, limit's 500 cap, sport's 'football' default and 'all' escape, and bookmaker aliases. The description's "one sport" and "up to 500 rows" restate schema facts rather than adding parameter meaning; offset behavior is left entirely to the schema, which is acceptable at this coverage level.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List the leagues a bookmaker covers for one sport") plus the returned identity fields, and names the sibling mbc_search_events it feeds into. An agent can distinguish it from mbc_list_bookmakers or mbc_list_markets without opening any schema.

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?

Gives clear context (per-bookmaker, per-sport league enumeration) and an explicit downstream handoff: pass a league_id to mbc_search_events for an exact answer. It does not state exclusions, e.g. when to prefer mbc_search_events or mbc_search_fixtures directly instead, so it stops short of a full when/when-not pair.

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.