Skip to main content
Glama

Get League Matches

get_league_matches
Read-onlyIdempotent

Liest Ligaspiele. Ohne liga oder verein_id gilt die Liga des aktiven Teams; weitere Seiten über limit/offset abrufen.

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_league_matches"
  }
}

Input Schema

NameRequiredDescriptionDefault
ligaNoPositive Liga-ID; ohne Angabe gilt die Liga des aktiven Teams.
limitNo
to_tsNoSpielzeit bis Unix-Zeitstempel in Sekunden (einschließlich); 0 deaktiviert.
offsetNo
saisonNo
from_tsNoSpielzeit ab Unix-Zeitstempel in Sekunden (einschließlich); 0 deaktiviert.
spieltagNo
verein_idNoVerein als Heim- oder Auswärtsteam.
expected_verein_idNoOptionaler Kontextanker: muss dem beim Aufruf aktiven Verein entsprechen (0 = keiner).

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds the useful defaulting rule and pagination guidance, but says nothing about result ordering, result size, or the effect of the openWorld retrieval on empty result sets.

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?

Two compact sentences with the defaulting rule placed first, where it matters most. Nothing is redundant, though the phrasing of the scope rule is slightly ambiguous about whether liga or verein_id takes precedence when both are supplied.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation. However, for a 9-parameter tool with only 56% schema coverage, the description omits the season, matchday, and time-window filters that materially shape the query.

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 56%, so the schema already explains liga, verein_id, from_ts, to_ts and expected_verein_id. The description only hints at liga/verein_id defaulting and limit/offset paging and adds no meaning for saison, spieltag, or the time-window interaction.

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 and resource: 'Liest Ligaspiele.' An agent understands it returns league fixtures. It does not distinguish itself from the sibling list_test_matches, so it falls 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?

Gives one real usage rule: absent liga or verein_id, the active team's league applies, and further pages are fetched via limit/offset. There is no statement of when to prefer another tool or when not to call it.

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.