Skip to main content
Glama

openligadb_next_match

Read-only

Return the next upcoming match record for one league shortcut, including teams, kickoff, status and results when present. Discover shortcuts with openligadb_leagues; use openligadb_next_team_match for one team within a league.

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": {
      "league_shortcut": "<league_shortcut>"
    },
    "name": "openligadb_next_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
league_shortcutYesRequired exact league shortcut from openligadb_leagues, including its original case and characters.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

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 readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds one useful behavioral detail — results appear only 'when present' — but says nothing about what happens when a league has no upcoming fixture or about freshness/caching of the 'next' determination.

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?

Two sentences, zero filler, with the core behavior front-loaded and the disambiguation trailing. Every clause carries 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?

An output schema exists, so return shapes need not be re-explained, and the field list plus sibling pointers make the definition callable as-is. The only gap is the empty/no-upcoming-match case, which an agent might otherwise have to discover by trial.

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% and the single parameter is fully documented (exact shortcut, original case and characters). The description reinforces the singular 'one league shortcut' and points to openligadb_leagues for discovery, but adds no syntax detail beyond the schema, so baseline 3 applies.

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 ('Return the next upcoming match record') plus the scoping unit ('for one league shortcut'), and enumerates the payload (teams, kickoff, status, results). This cleanly separates it from openligadb_last_match and openligadb_next_team_match without needing the 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?

Explicitly routes the agent: use openligadb_leagues to obtain the shortcut, and openligadb_next_team_match when the question is about a single team inside a league. It does not address other temporal alternatives (e.g. last match, full matchday list), so it stops just short of full when/when-not coverage.

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.