Skip to main content
Glama
varzesh3-mcp

varzesh3-mcp

by sepehr071

Leagues and seasons

v3_league
Read-onlyIdempotent

List football league IDs or retrieve a league's current season ID and past winners; supports futsal, volleyball, basketball, and handball when a sport is specified.

Instructions

List the football leagues with their ids, or get one league's current season id and past seasons with winners.

Call it without league_id to find an id (Iranian Pro League 6, Premier League 3, La Liga 2, Serie A 4). Any league_id from v3_scores works too (55 Portuguese, 35 Turkish). Past seasons are football only. Other sports: sport="futsal" (league 27), "volleyball" (33), "basketball" (32; NBA 209) or "handball" (4).

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

Input Schema

NameRequiredDescriptionDefault
sportNoIds are per sport.football
league_idNoOmit to list main leagues.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.0
    • removedInput schema / properties / league_id / anyOf
      Removed value: -[
      -  {
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / league_id / description
      Previous value: -"League id; omit to list the main leagues and their ids."New value: +"Omit to list main leagues."
    • addedInput schema / properties / league_id / minimum
      Added value: +1
    • addedInput schema / properties / league_id / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • changedInput schema / properties / sport / description
      Previous value: -"Sport of the league (default football); league ids are per sport."New value: +"Ids are per sport."
  2. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so safety is covered; the description adds genuine scope constraints beyond that, notably "Past seasons are football only" and that ids are per-sport. The hard-coded id examples (Serie A 4, NBA 209) reduce the need for a follow-up lookup call. It does not say how many past seasons are returned, which is a minor remaining gap.

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?

The dual behavior is front-loaded in the first sentence, followed by usage guidance and examples in a logical order. The parenthetical id lists are dense but each one supports the id-discovery use case. A little of the example noise could be trimmed without loss.

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?

There is no output schema, and the description compensates by stating what each mode returns (league ids; current season id plus past seasons with winners). Combined with the sport-selector guidance and id examples, an agent has enough to call it correctly. The only shortfall is not indicating the extent or format of the past-seasons payload.

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 100%, so both parameters are already documented, making 3 the baseline. The description does add meaning beyond the schema by supplying concrete id examples per sport and clarifying that specifying league_id switches the response to season/winners data rather than a list. That is real added value, but it does not fully describe the sport enum behavior for anything beyond the listed sports.

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?

The opening sentence names two specific verbs (list, get) against two specific resources (league list, one league's current/past seasons) and states the returned fields (ids, season id, winners). An agent can distinguish this immediately from siblings like v3_league_stats, v3_standings, or v3_league_matches, which return different data for the same entity.

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?

"Call it without league_id to find an id" gives an explicit trigger condition for the list mode, and the description effectively positions this as an id-discovery step before other league tools. It also explains how cross-sport ids work ("any league_id from v3_scores works too"). It stops short of naming a sibling as the alternative for season-level data, so it is clear but not exhaustive.

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