Skip to main content
Glama

List Ligen

list_ligen
Read-onlyIdempotent

Findet eindeutige Liga-IDs mit Land, Saison und aktueller Saisonmarkierung. view=summary bietet semantische Seiten mit current_only/land/season; view=full erhält den historischen Gesamtkatalog. Die ID als liga an Tabellen/Spielplan übergeben.

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

Input Schema

NameRequiredDescriptionDefault
landNo
viewNofull
limitNo
seasonNo
sectionNoall
chunk_limitNo
item_offsetNo
snapshot_idNo
chunk_offsetNoStrukturierter Offset aus read_view.next_arguments.
current_onlyNoNur aktuelle Saison; benötigt view=summary.
expected_revisionNo
text_chunk_offsetNoTextoffset aus read_view.next_arguments.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "required": [
      -        "chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "chunk_limit"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "text_chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "text_chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "anyOf": [
      -        {
      -          "properties": {
      -            "chunk_offset": {
      -              "minimum": 1
      -            }
      -          },
      -          "required": [
      -            "chunk_offset"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "text_chunk_offset": {
      -              "minimum": 1
      -            }
      -          },
      -          "required": [
      -            "text_chunk_offset"
      -          ]
      -        }
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision",
      -        "chunk_offset",
      -        "text_chunk_offset"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "section": {
      -          "const": "envelope_document"
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision"
      -      ]
      -    }
      -  }
      -]
    • addedInput schema / description
      Added value: +"snapshot_id und expected_revision gemeinsam übergeben; Fortsetzungen verwenden die next_arguments der vorherigen Antwort unverändert. Chunk-Parameter nur für die dokumentierte section; positive Offsets erfordern den zugehörigen Snapshot und seine Revision. Bedingte Parameterregeln werden vor Ausführung serverseitig geprüft; VALIDATION_ERROR nennt den betroffenen Parameter."
    • addedInput schema / properties / current_only
      Added value: +{
      +  "description": "Nur aktuelle Saison; benötigt view=summary.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / item_offset
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / land
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "maximum": 25,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / season
      Added value: +{
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "default": "full",
      +  "enum": [
      +    "full",
      +    "summary"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {
      +      "type": "object"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "trace": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

The annotations already establish a read-only, idempotent, non-destructive operation, and the description adds useful view-dependent scope, particularly the historical nature of the full catalog. It does not further clarify paging behavior, the meaning of semantic pages, or snapshot and revision handling, so the additional behavioral context remains moderate.

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?

Three compact sentences cover purpose, mode selection, and downstream use without filler. The core capability is front-loaded, and each sentence contributes distinct invocation-relevant information.

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?

The description is sufficient for the normal league-discovery workflow, while the output schema removes the need to detail return fields and the input schema documents advanced validation rules. For such a 12-parameter tool, however, briefly surfacing the snapshot/expected_revision pairing and next_arguments continuation workflow would make multi-page invocation guidance more complete.

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?

With only 25% schema description coverage, the description meaningfully compensates by explaining both view values and associating land, season, and current_only with summary mode. It adds little for limit, section, or the chunk, offset, snapshot, and revision parameters, although the schema's top-level description covers several of their conditional rules.

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 gives a specific verb, resource, and result: finding unique league IDs with country, season, and current-season marking. The final sentence further distinguishes this discovery role from downstream table and fixture operations that consume the ID as liga.

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

Usage Guidelines5/5

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

It explicitly differentiates the two modes: view=summary supports semantic pages with current_only, land, and season, while view=full provides the historical complete catalog. It also gives a concrete next step by directing the agent to pass the resulting ID to tables or fixtures.

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.