Skip to main content
Glama
Sports Hub MCP Server

Sports Hub MCP Server

by danmorris27

openliga: Get next match by team

openliga_get_next_match_by_team
Read-onlyIdempotent

Fetch the next upcoming match for a team by its numeric ID. Use get_teams to look up valid team IDs.

Instructions

Get the next upcoming match for a team. Use get_teams to find team IDs.

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": {
      "team_id": "<team_id>"
    },
    "name": "openliga_get_next_match_by_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoKeys to keep (comma-separated).
team_idYesThe numeric team ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is fully covered by structured data. The description adds little beyond that — it doesn't say what happens when a team has no upcoming fixture, nor anything about the returned match shape.

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 short sentences, front-loaded with the core action and followed by the one piece of routing the schema can't express. Zero filler.

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?

For a simple two-parameter read-only lookup with no output schema, the description covers the essentials an agent needs to call it: what it returns and how to obtain the required ID. The missing edge case (no upcoming match) is a minor gap.

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 description coverage is 100%, so the schema already documents both team_id and the fields projection. The description reinforces where team_id comes from ('get_teams') but adds no format or syntax detail beyond the schema; baseline 3 is appropriate.

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 (get) and resource (next upcoming match for a team), and the scope word 'next upcoming' implicitly separates it from the sibling openliga_get_last_match_by_team. However it never names that sibling, so differentiation is left to inference rather than stated.

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?

It gives one concrete prerequisite — 'Use get_teams to find team IDs' — which is genuinely useful routing. But it offers no guidance on when to prefer this over openliga_get_last_match_by_team or the matches_by_league_season/matchday tools, so usage is only partially framed.

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

Deploy Server

Other Tools